Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?= <juama...@amd.com>, Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?= <juama...@amd.com>, Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?= Message-ID: In-Reply-To: <llvm.org/llvm/llvm-project/pull/137...@github.com>
================ @@ -98,7 +100,11 @@ class FrontendAction { /// /// This is guaranteed to only be called following a successful call to /// BeginSourceFileAction (and BeginSourceFile). - virtual void EndSourceFileAction() {} + virtual void EndSourceFileAction() { + if (CurrentInput.isPreprocessed()) + // reset the preprocessor macro expansion to the default. ---------------- AaronBallman wrote: ```suggestion // Reset the preprocessor macro expansion to the default. ``` https://github.com/llvm/llvm-project/pull/137665 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits