[clang] Fix INF/NAN warning. (PR #80290)

Zahira Ammarguellat via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 1 08:20:21 PST 2024


================
@@ -3288,7 +3288,7 @@ void Preprocessor::HandleIfdefDirective(Token &Result,
     return;
   }
 
-  emitMacroExpansionWarnings(MacroNameTok);
+  emitMacroExpansionWarnings(MacroNameTok, true);
----------------
zahiraam wrote:

The bool argument is not needed since I am removing the 3rd argument of the diagnostic?

https://github.com/llvm/llvm-project/pull/80290


More information about the cfe-commits mailing list