- Sep 10, 2011
-
-
Richard Trieu authored
llvm-svn: 139461
-
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
-
Devang Patel authored
llvm-svn: 139443
-
Douglas Gregor authored
well-bred compiler like Clang. llvm-svn: 139442
-
Douglas Gregor authored
than having CodeGen check whether a declaration comes from an AST file (which it shouldn't know or care about), make sure that the AST writer and reader pass along "interesting" declarations that CodeGen needs to know about. llvm-svn: 139441
-
Anna Zaks authored
[analyzer] -analyze-function for ObjectiveC should check if any of the methods match the name (not only the first one). llvm-svn: 139439
-
Douglas Gregor authored
whether a Decl was deserialized from an AST file (any AST file). llvm-svn: 139438
-
Chandler Carruth authored
and case statements. Use this to make the logic in the CFG builder more robust at finding the actual statements within a compound statement, even when there are many layers of labels obscuring it. Also extend the test cases for a large chunk of PR10063. Still more work to do here though. llvm-svn: 139437
-
Douglas Gregor authored
llvm-svn: 139430
-
Douglas Gregor authored
declaration was deserialized from an AST file. Use this instead of Decl::getPCHLevel() wherever possible. This is a simple step toward killing off Decl::getPCHLevel(). llvm-svn: 139427
-
Caitlin Sadowski authored
llvm-svn: 139426
-
Caitlin Sadowski authored
llvm-svn: 139425
-
Julien Lerouge authored
llvm-svn: 139424
-
Julien Lerouge authored
annotate global, local variables, struct fields, or arbitrary statements (using the __builtin_annotation), rdar://8037476. llvm-svn: 139423
-
Douglas Gregor authored
Preprocessor reference. Simplify some code along the way, so there is no separate "initialize the preprocessor" step. llvm-svn: 139418
-
- Sep 09, 2011
-
-
Kaelyn Uhrain authored
llvm-svn: 139417
-
Eric Christopher authored
along with the new insert point. Fixes PR10829 llvm-svn: 139416
-
Douglas Gregor authored
ASTContext reference. Remove all of the extra checking and logic that was used to cope with a NULL ASTContext. No effective functionality change. llvm-svn: 139413
-
Douglas Gregor authored
llvm-svn: 139411
-
Douglas Gregor authored
Mark the translation unit as having lexical/visible storage only when we actually have data for that lexical or visible storage llvm-svn: 139409
-
Douglas Gregor authored
identifier, also make them visible in the translation unit," which isn't needed now that John's eliminated the AST dependency in blocks CodeGen. llvm-svn: 139408
-
Douglas Gregor authored
llvm-svn: 139406
-
John McCall authored
feature akin to the ARC runtime checks. Removes a terrible hack where IR gen needed to find the declarations of those symbols in the translation unit. llvm-svn: 139404
-
Fariborz Jahanian authored
along with minor rewriter fix to handle that. This test is still incomplete due to rewriter issues unrelated to instancetype. llvm-svn: 139403
-
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
-
Argyrios Kyrtzidis authored
instead of codegen waiting to consume such a declaration, which won't happen if that decls are coming from a PCH. Fixes rdar://10028656. llvm-svn: 139359
-
Argyrios Kyrtzidis authored
in the translation unit. llvm-svn: 139358
-
Argyrios Kyrtzidis authored
llvm-svn: 139357
-
John McCall authored
llvm-svn: 139355
-