- Sep 10, 2011
-
-
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
-
Anna Zaks authored
(scan-build does not set the $HtmlDir when running against configure. Previously, this implied that the plist files would appear in the current directory, with this patch they will get deleted.) llvm-svn: 139382
-
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
-
John McCall authored
converting to an arbitrary Objective-C pointer type is. Without significantly re-implementing anything, change the API to reflect this, and as a minor optimization, strip the pointer conversion off before potentially building it. Mostly, this removes a really bizarre-looking bit of code from BuildInstanceMessage. llvm-svn: 139354
-
John McCall authored
than conversions of C pointers to ObjC pointers. In order to ensure that we've caught every case, add asserts to CastExpr that strictly determine which cast kind is used for which kind of bit cast. llvm-svn: 139352
-
Richard Trieu authored
Clean up the RebuildUnknownAnyExpr visitor in SemaExpr.cpp. Mainly swapped around variable names so that this visitor be more like other visitors in clang. llvm-svn: 139351
-
Richard Trieu authored
Changed references of BaseTy, MemInitTy, CXXScopeTy, TemplateParamsTy to CXXBaseSpecifier, CXXCtorInitializer, NestedNameSpecifier, TemplateParameterList and removed their typedefs. llvm-svn: 139350
-
Richard Trieu authored
Change references to StmtTy to Stmt and removed typedefs of StmtTy. Also removed typedef of AttrTy since it is not used. llvm-svn: 139349
-
Douglas Gregor authored
indicates that a declaration is only visible within the module it is declared in. llvm-svn: 139348
-
Richard Trieu authored
llvm-svn: 139347
-
Richard Trieu authored
Capitialize paramater names in SemaExpr.cpp and resolve any parameter name conflicts between declarations and definitions from this and previous refactorings. llvm-svn: 139346
-
Douglas Gregor authored
llvm-svn: 139334
-
Eric Christopher authored
llvm-svn: 139333
-
Eric Christopher authored
these should be in stdint.h - and they already are. Fixes rdar://10097036. llvm-svn: 139332
-
Caitlin Sadowski authored
llvm-svn: 139331
-
Douglas Gregor authored
Add some delay between PCH creation and modifying one of the headers it depends on, which will---hopefully make this test predictably pass on Windows llvm-svn: 139327
-
Matt Beaumont-Gay authored
llvm-svn: 139326
-