[clang] [CLANG] Fix INF/NAN warning. (PR #80290)
Zahira Ammarguellat via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 5 11:05:56 PST 2024
================
@@ -73,7 +73,7 @@ def warn_pragma_debug_unexpected_argument : Warning<
def warn_fp_nan_inf_when_disabled : Warning<
"use of %select{infinity|NaN}0%select{| via a macro}1 is undefined behavior "
"due to the currently enabled floating-point options">,
- InGroup<DiagGroup<"nan-infinity-disabled">>;
+ InGroup<DiagGroup<"NanInfDisabledDocs">>;
----------------
zahiraam wrote:
Thanks @AaronBallman. I have added a few other lines in the LIT test. I can't think of anything else.
https://github.com/llvm/llvm-project/pull/80290
More information about the cfe-commits
mailing list