- Jul 15, 2014
-
-
Matt Arsenault authored
llvm-svn: 212999
-
Alp Toker authored
clang r212997 incorporated these settings into its own build system. They no longer need to be set from LLVM. llvm-svn: 212998
-
Alp Toker authored
llvm-svn: 212997
-
Alp Toker authored
llvm-svn: 212996
-
Alp Toker authored
llvm-svn: 212995
-
Alp Toker authored
llvm-svn: 212994
-
David Majnemer authored
This is just a helper routine, no functionality has changed. llvm-svn: 212993
-
Matt Arsenault authored
llvm-svn: 212992
-
David Majnemer authored
The underlying function. utohex_buffer, already supports an argument for deciding if the hex characters should be upper or lower case. Expose an identical argument for utohexstr. llvm-svn: 212991
-
Sanjay Patel authored
llvm-svn: 212990
-
Ben Langmuir authored
The attempt in r212980 was broken because we might not fail if LLVM_ON_UNIX is enabled for cross compiling to Windows, and it didn't consider mingw either. llvm-svn: 212989
-
Joerg Sonnenberger authored
llvm-svn: 212987
-
Justin Bogner authored
Until now, attempting to create an alias of a required option would complain if the user supplied the alias, because the required option didn't have a value. Similarly, if you said the alias was required, then using the base option would complain that the alias wasn't supplied. Lastly, if you put required on both, *neither* option would work. By changning alias to overload addOccurrence and setting cl::Required on the original option, we can get this to behave in a more useful way. I've also added a test and updated a user that was getting this wrong. llvm-svn: 212986
-
David Majnemer authored
@icmp_sdiv_neg1 should have referred to %a instead of %call, it was renamed at the last second. llvm-svn: 212983
-
Joerg Sonnenberger authored
corresponding AST context function, only restricted to basic integer types. Use this to ensure getUIntPtrType() gives types consistent with getIntPtrType(). Fix NVPTX backend to give signed intptr_t. llvm-svn: 212982
-
David Majnemer authored
Determining the bounds of x/ -1 would start off with us dividing it by INT_MIN. Suffice to say, this would not work very well. Instead, handle it upfront by checking for -1 and mapping it to the range: [INT_MIN + 1, INT_MAX. This means that the result of our division can be any value other than INT_MIN. llvm-svn: 212981
-
Ben Langmuir authored
llvm-svn: 212980
-
Ehsan Akhgari authored
llvm-svn: 212979
-
Richard Smith authored
array prvalue), treat that as a direct binding. Only the class prvalue case needs to be excluded here; the rest are extensions anyway, so we can treat them as we would in C++11. llvm-svn: 212978
-
Sanjay Patel authored
llvm-svn: 212977
-
David Majnemer authored
Summary: When calculating the upper bound of X / -8589934592, we would perform the following calculation: Floor[INT_MAX / 8589934592] However, flooring the result would make us wrongly come to the conclusion that 1073741824 was not in the set of possible values. Instead, use the ceiling of the result. Reviewers: nicholas Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D4502 llvm-svn: 212976
-
Ben Langmuir authored
Just because we can open a directory named "COcoa.framework" doesn't mean we should provide a "COcoa" module on a case-insensitive filesystem. llvm-svn: 212975
-
Alp Toker authored
Also consolidate 'backward compatibility' llvm-svn: 212974
-
Justin Bogner authored
llvm-svn: 212973
-
Alp Toker authored
We don't have a style guide for diagnostic messages, but convention strongly favours the forms: 'attribute is not supported', 'unsupported attribute' We generally avoid: 'attribute is unsupported', 'non-supported attribute' llvm-svn: 212972
-
Matt Arsenault authored
llvm-svn: 212971
-
Nick Lewycky authored
Don't eliminate memcpy's when the address of the pointer may itself be relevant. Fixes PR18304. Patch by David Wiberg! llvm-svn: 212970
-
Sylvestre Ledru authored
llvm-svn: 212969
-
Sylvestre Ledru authored
llvm-svn: 212968
-
Bill Wendling authored
The 'select true, %arg, undef' instruction can be used for both aggregate and non-aggregate arguments. llvm-svn: 212967
-
Sanjay Patel authored
llvm-svn: 212966
-
Reid Kleckner authored
This reverts commit r212957. It broke the self-host on code like this from LLVM's option library: for (auto Arg: filtered(Id0, Id1, Id2)) llvm-svn: 212965
-
Alp Toker authored
Use -Winvalid-command-line-argument here to align with existing gcc opt diagnostics. Meanwhile -Wunused-command-line-argument is for flags that we support but were, say, fed into the wrong invocation. Also tweak wording to make sense with -Werror. llvm-svn: 212964
-
Matt Arsenault authored
llvm-svn: 212963
-
Matt Arsenault authored
llvm-svn: 212962
-
Matt Arsenault authored
llvm-svn: 212961
-
Matt Arsenault authored
llvm-svn: 212960
-
Timur Iskhodzhanov authored
This is a test case for r212815. llvm-svn: 212959
-
Dan Albert authored
The cmake files for libc++abi and the unwinder weren't linking against libpthread or an unwind library. If the tests were linked with -Wl,--as-needed, these libraries wouldn't be linked, causing them to fail. Patch contributed by İsmail Dönmez. llvm-svn: 212958
-
Serge Pavlov authored
Recognize additional cases, when '::' is mistyped as ':'. This is a fix to RP18587 - colons have too much protection in member-declarations. Differential Revision: http://reviews.llvm.org/D3653 llvm-svn: 212957
-