add back layoutLocation to public API

This commit is contained in:
Pavel Rojtberg 2024-05-10 20:54:17 +02:00 committed by GitHub
parent effcbf7893
commit edca09e3af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -2105,6 +2105,8 @@ const char* TProgram::getInfoDebugLog()
// Reflection implementation.
//
unsigned int TObjectReflection::layoutLocation() const { return type->getQualifier().layoutLocation; }
bool TProgram::buildReflection(int opts)
{
if (! linked || reflection != nullptr)