- Sep 14, 2011
-
-
Caitlin Sadowski authored
llvm-svn: 139723
-
Kaelyn Uhrain authored
llvm-svn: 139718
-
Eli Friedman authored
PR10864: make sure we correctly delay type-checking for inline asm tied operands with dependent type. Patch by Likai Liu. llvm-svn: 139716
-
Fariborz Jahanian authored
declared which does not force a 'copy' of the block literal object. // rdar://9829425 llvm-svn: 139706
-
- Sep 13, 2011
-
-
Argyrios Kyrtzidis authored
Depends on a llvm tablegen commit. llvm-svn: 139618
-
John McCall authored
their semantic attributes and then to take advantage of that. llvm-svn: 139615
-
Caitlin Sadowski authored
Thread safety: Initializing var before exhaustive switch statement to deal with extraneous warning produced by gcc but not clang llvm-svn: 139611
-
Douglas Gregor authored
language options. Use that .def file to declare the LangOptions class and initialize all of its members, eliminating a source of annoying initialization bugs. AST serialization changes are next up. llvm-svn: 139605
-
Argyrios Kyrtzidis authored
llvm-svn: 139600
-
Argyrios Kyrtzidis authored
llvm-svn: 139599
-
Francois Pichet authored
In Microsoft mode, downgrade "goto into protected scope" from error to warning if we are jumping over a variable initialization via a goto. This fixes a few errors when parsing MFC code with clang. llvm-svn: 139595
-
Chandler Carruth authored
This deletes a bunch of crufty code, and allows more logic sharing between the analyzer and the warnings. llvm-svn: 139594
-
- Sep 12, 2011
-
-
Douglas Gregor authored
llvm-svn: 139523
-
Richard Trieu authored
llvm-svn: 139520
-
Douglas Gregor authored
llvm-svn: 139519
-
Richard Trieu authored
llvm-svn: 139510
-
Douglas Gregor authored
llvm-svn: 139499
-
Douglas Gregor authored
declaration may be the first declaration, we want the ability to that declaration to be marked module-private. llvm-svn: 139497
-
Hans Wennborg authored
Fixes PR10898. The warning should be silent when there are parenthesis around the condition expression. llvm-svn: 139492
-
- Sep 10, 2011
-
-
Benjamin Kramer authored
llvm-svn: 139474
-
John McCall authored
llvm-svn: 139466
-
David Blaikie authored
llvm-svn: 139463
-
John McCall authored
the lifetime of the block by copying it to the heap, or else we'll get a dangling reference because the code working with the non-block-typed object will not know it needs to copy. There is some danger here, e.g. with assigning a block literal to an unsafe variable, but, well, it's an unsafe variable. llvm-svn: 139451
-
Douglas Gregor authored
methods, and improve the diagnostic slightly along the way. Fixes <rdar://problem/10098695>. llvm-svn: 139446
-
Chandler Carruth authored
enumeration type. llvm-svn: 139445
-
Julien Lerouge authored
annotate global, local variables, struct fields, or arbitrary statements (using the __builtin_annotation), rdar://8037476. llvm-svn: 139423
-
- Sep 09, 2011
-
-
Kaelyn Uhrain authored
llvm-svn: 139417
-
Douglas Gregor authored
llvm-svn: 139411
-
Douglas Gregor authored
llvm-svn: 139406
-
Douglas Gregor authored
llvm-svn: 139394
-
Douglas Gregor authored
must also be present of the first declaration of that entity. llvm-svn: 139384
-
Douglas Gregor authored
declarations. llvm-svn: 139380
-
Douglas Gregor authored
construct a new DeclRefExpr rather than re-using the existing DeclRefExpr. Patch by Likai Liu, fixes PR8345. llvm-svn: 139373
-
Caitlin Sadowski authored
Thread safety: This patch deals with previously unhandled cases when building lock expressions. We now resolve this expressions, avoid crashing when encountering cast expressions, and have a diagnostic for unresolved lock expressions llvm-svn: 139370
-
Caitlin Sadowski authored
llvm-svn: 139369
-
Caitlin Sadowski authored
llvm-svn: 139368
-
Caitlin Sadowski authored
llvm-svn: 139367
-
Francois Pichet authored
llvm-svn: 139364
-
John McCall authored
what 'nullPos' is supposed to mean, at least at this one site. Use closed forms for the arithmetic. Rip out some clever but ultimately pointless code that was trying to use 0 or 0L depending the size of a pointer vs. the size of int; first, it didn't work on LLP64 systems, and second, the sentinel checking code requires a pointer-typed value anyway, so this fixit would not have actually removed the warning. llvm-svn: 139361
-
John McCall authored
llvm-svn: 139355
-