Displaying 4 results from an estimated 4 matches for "getlastargintvalue".
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
2013 Nov 15
0
[LLVMdev] [PATCH] Prevent clang from throwing the diagnostics twice.
Test cases?
Also, this seems a bit heavy-handed for a solution. Why is
getLastArgIntValue being called twice in the first place?
~Aaron
On Fri, Nov 15, 2013 at 6:35 AM, Umesh Kalappa <umesh.kalappa0 at gmail.com> wrote:
> Hi All,
>
> Clang pop up with the "error: invalid integral value" diagnostics twice
> ,when you enable the optimization through -O wi...
2013 Nov 15
0
[LLVMdev] [PATCH] Prevent clang from throwing the diagnostics twice.
On Fri, Nov 15, 2013 at 11:19 AM, Umesh Kalappa
<umesh.kalappa0 at gmail.com> wrote:
> Hi Aaron,
>
>>>Why is getLastArgIntValue being called twice in the first place?
>
> It has been called from the getOptimizationLevel() ,which in turn called by
> methods like ParseCodeGenArgs() and ParseLangArgs(),
>
> where method getOptimizationLevel() register the "invalid integral value"
> diagnostics in th...
2015 Jul 22
2
[LLVMdev] (no subject)
Hello,
I have tried a lot fix this error but am not able to can you please
find me a solution am trying to compile the SAFECode in Cygwin Environment
to work for windows.
used make -j4 command to make the files in cygwin i have got this error
make[5]: Leaving directory
'/home/uidr7475/Work/LLVM_OBJ/projects/safecode/tools/clang/include'
/usr/bin/cp: cannot stat