Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?= <[email protected]>,
Juan Manuel Martinez =?utf-8?q?Caama=C3=B1o?= <[email protected]>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>
================
@@ -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
----------------
cor3ntin wrote:
```suggestion
// reset the preprocessor macro expansion to the default.
```
https://github.com/llvm/llvm-project/pull/137665
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits