You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current code goes through different codepaths depending on the platform.
One of the codepaths relies on a non-standard extension (variable-length arrays)
and the other manually allocates and frees a char array.
Using a std::string, while losing a bit of performance on Linux/Mac,
simplifies and unifies the codepaths and avoids using non-standard C++
(which in turns enable building with -Werror).
The perf hit is most likely negligible, especially given the use of dynamic_cast
in the same block.
printf("TEnum::GetEnum: Header Parsing - The enumerator %s is not known to the typesystem: an interpreter lookup will be performed. This can imply parsing of headers. This can be avoided selecting the numerator in the linkdef/selection file.\n", enumName);
0 commit comments