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
Before llvm+clang 14, EnumVisitor TraverseDecl also traversed the type. LLVM + Clang determined this to be a bug, so now we also call TraverseType in TranslationUnitVisitor.cpp and ClassVisitor.cpp
We can move the EnumVisitor::VisitEnumType code to VisitEnumDecl, but I don't want to do this without adding more tests to make sure all the enum edge cases work. There might be some callback function called when traversing a type that gets missed when only visiting enumDecl (maybe for const enums, anonymous enums, or some other edge case).
The text was updated successfully, but these errors were encountered:
Before llvm+clang 14, EnumVisitor TraverseDecl also traversed the type. LLVM + Clang determined this to be a bug, so now we also call TraverseType in TranslationUnitVisitor.cpp and ClassVisitor.cpp
We can move the EnumVisitor::VisitEnumType code to VisitEnumDecl, but I don't want to do this without adding more tests to make sure all the enum edge cases work. There might be some callback function called when traversing a type that gets missed when only visiting enumDecl (maybe for const enums, anonymous enums, or some other edge case).
The text was updated successfully, but these errors were encountered: