- Feb 01, 2012
-
-
Argyrios Kyrtzidis authored
llvm-svn: 149476
-
Eric Christopher authored
instead of the entire class definition. llvm-svn: 149474
-
Richard Smith authored
llvm-svn: 149473
-
Douglas Gregor authored
type, be sure to add the qualifier for the enumeration type. llvm-svn: 149471
-
Richard Smith authored
a literal type. Disallow it as the return type of a constexpr function declaration. llvm-svn: 149469
-
Richard Smith authored
llvm-svn: 149467
-
Richard Smith authored
llvm-svn: 149463
-
Douglas Gregor authored
- Actually building the var -> capture mapping properly (there was an off-by-one error) - Keeping track of the source location of each capture - Minor QoI improvements, e.g, highlighing the prior capture if there are multiple captures, pointing at the variable declaration we found if we reject it. As part of this, add standard citations for the various semantic checks we perform, and note where we're not performing those checks as we should. llvm-svn: 149462
-
Nico Weber authored
Fixes PR11847. Patch from Jason Haslam! llvm-svn: 149460
-
Douglas Gregor authored
llvm-svn: 149458
-
Bob Wilson authored
I removed support for "*-darwin*-iphoneos" triples, since we now have iOS listed as a separate OS in the triples. llvm-svn: 149455
-
Bob Wilson authored
Check if the triple OS is IOS instead of checking for arm/thumb architectures and check that before calling isMacOSXVersionLT. llvm-svn: 149454
-
Kaelyn Uhrain authored
llvm-svn: 149451
-
Richard Smith authored
fixed in r149440. llvm-svn: 149450
-
Fariborz Jahanian authored
CFBridgingRetain/CFBridgingRelease calls instead of __bridge_retained/__bridge_transfer casts as preferred way of moving cf objects to arc land. // rdar://10207950 llvm-svn: 149449
-
Richard Smith authored
isn't, but this is just a (reported) defect in the wording. llvm-svn: 149448
-
- Jan 31, 2012
-
-
Eli Friedman authored
llvm-svn: 149441
-
Eli Friedman authored
llvm-svn: 149440
-
Bob Wilson authored
llvm-svn: 149439
-
Fariborz Jahanian authored
explicit type cast. // rdar://10521744 llvm-svn: 149437
-
Fariborz Jahanian authored
cancel out each other. Leave it alone so users can take a look (unmigrated code forces error diagnostic). // rdar://10521744 llvm-svn: 149435
-
Douglas Gregor authored
builds, and bring mm_alloc.h into the fold. Start playing some tricks with these builtin modules to mirror the include_next tricks that the headers already perform. llvm-svn: 149434
-
Chad Rosier authored
llvm-svn: 149424
-
Bob Wilson authored
The Darwin toolchain constructor was assuming that all Darwin triples would have an OS string starting with "darwin". Triples starting with "macosx" would misinterpret the version number, and "ios" triples would completely miss the version number (or worse) because the OS name is not 6 characters long. We lose some sanity checking of triple strings here, since the Triple.getOSVersion function doesn't do all the checking that the previous code did, but this still seems like a step in the right direction. llvm-svn: 149422
-
Anna Zaks authored
(Since this is syntax only, might be a good candidate for turning into a compiler warning.) llvm-svn: 149407
-
Anna Zaks authored
replacements for 'starcat/strcpy' instead of 'strncat/strncpy'. llvm-svn: 149406
-
Chad Rosier authored
llvm-svn: 149405
-
Ted Kremenek authored
Revert r149359. This was a hack to a problem with an easy workaround, and it doesn't feel like general solution. llvm-svn: 149404
-
Matt Beaumont-Gay authored
A separate unreachable message will make it easier to debug if either of the unreachables is reached. llvm-svn: 149402
-
David Chisnall authored
Patch by Niels Grewe! llvm-svn: 149401
-
Chris Lattner authored
__has_builtin in an empty file, as we were overwriting the EOF token. Overwriting an arbitrary token never seems like a good idea in the error case. This fixes a bug reported on the GCC list :) llvm-svn: 149397
-
Jean-Daniel Dupas authored
llvm-svn: 149394
-
Hans Wennborg authored
This fixes the case where Clang would output: error: format specifies type 'wchar_t *' (aka 'wchar_t *') ArgTypeResult::getRepresentativeTypeName needs to take into account that wchar_t can be a built-in type (as opposed to in C, where it is a typedef). llvm-svn: 149387
-
Erik Verbruggen authored
llvm-svn: 149385
-
Benjamin Kramer authored
llvm-svn: 149377
-
Richard Smith authored
unspecified unless the pointers are equal; therefore, such a comparison is not a constant expression unless the pointers are equal. llvm-svn: 149366
-
Chris Lattner authored
ConstantDataArray::getString instead. Many instances of ConstantArray::get() could be moved to use more efficient ConstantDataArray methods that avoid a ton of intermediate Constant*'s for each element (e.g. GetConstantArrayFromStringLiteral). I don't plan on doing this in the short-term though. llvm-svn: 149363
-
Ted Kremenek authored
Don't warn about -Wshorten-64-to-32 in unreachable code. Fixes <rdar://problem/10759934>. Apparently this is a common idiom in Linux (among other places). llvm-svn: 149359
-
Ted Kremenek authored
llvm-svn: 149358
-
Chris Lattner authored
as well as ConstantArray. llvm-svn: 149347
-