Displaying 1 result from an estimated 1 matches for "getissueddiagnostics".
2013 Nov 15
5
[LLVMdev] [PATCH] Prevent clang from throwing the diagnostics twice.
Hi All,
Clang pop up with the "error: invalid integral value" diagnostics twice
,when you enable the optimization through -O with a non-integer value
i.e -O<non integer> as show below
$ clang -Of -S test.c
error: invalid integral value 'f' in '-Of'
error: invalid integral value 'f' in '-Of'
Attached patch fix the issue as
$ clang -Of -S