================ @@ -951,9 +951,16 @@ void Preprocessor::Lex(Token &Result) { break; [[fallthrough]]; default: - TrackGMFState.handleMisc(); - StdCXXImportSeqState.handleMisc(); - ModuleDeclState.handleMisc(); + if (tok::isPragmaAnnotation(Result.getKind())) { ---------------- ChuanqiXu9 wrote:
This is slightly hack. Let's add a new case for it and maybe we need to update the state machine if required. https://github.com/llvm/llvm-project/pull/111662 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits