[clang] Fix INF/NAN warning. (PR #80290)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 1 08:43:09 PST 2024
================
@@ -3288,7 +3288,7 @@ void Preprocessor::HandleIfdefDirective(Token &Result,
return;
}
- emitMacroExpansionWarnings(MacroNameTok);
+ emitMacroExpansionWarnings(MacroNameTok, true);
----------------
AaronBallman wrote:
You'll still need this one because that's what controls silencing the diagnostic in an ifndef.
https://github.com/llvm/llvm-project/pull/80290
More information about the cfe-commits
mailing list