================
@@ -425,6 +425,11 @@ bool Parser::SkipUntil(ArrayRef<tok::TokenKind> Toks,
SkipUntilFlags Flags) {
//===----------------------------------------------------------------------===//
void Parser::EnterScope(unsigned ScopeFlags) {
+ // Invalidate the typedef-name cache: an identifier may resolve differently
+ // in the new scope.
+ if (!IsTypedefNameCache.empty())
----------------
zahiraam wrote:
Dropped the cache.
https://github.com/llvm/llvm-project/pull/224019
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits