| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
enumeration type.
llvm-svn: 139445
|
| |
|
|
| |
llvm-svn: 139443
|
| |
|
|
|
|
| |
well-bred compiler like Clang.
llvm-svn: 139442
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
methods match the name (not only the first one).
llvm-svn: 139439
|
| |
|
|
|
|
| |
whether a Decl was deserialized from an AST file (any AST file).
llvm-svn: 139438
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 139430
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 139426
|
| |
|
|
| |
llvm-svn: 139425
|
| |
|
|
| |
llvm-svn: 139424
|
| |
|
|
|
|
|
| |
annotate global, local variables, struct fields, or arbitrary statements (using
the __builtin_annotation), rdar://8037476.
llvm-svn: 139423
|
| |
|
|
|
|
|
| |
Preprocessor reference. Simplify some code along the way, so there is
no separate "initialize the preprocessor" step.
llvm-svn: 139418
|
| |
|
|
| |
llvm-svn: 139417
|
| |
|
|
|
|
|
|
| |
along with the new insert point.
Fixes PR10829
llvm-svn: 139416
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 139411
|
| |
|
|
|
|
| |
actually have data for that lexical or visible storage
llvm-svn: 139409
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 139406
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
along with minor rewriter fix to handle that. This
test is still incomplete due to rewriter issues
unrelated to instancetype.
llvm-svn: 139403
|
| |
|
|
|
|
| |
it down to 'id'.
llvm-svn: 139394
|
| |
|
|
|
|
| |
must also be present of the first declaration of that entity.
llvm-svn: 139384
|
| |
|
|
|
|
| |
declarations.
llvm-svn: 139380
|
| |
|
|
|
|
|
| |
construct a new DeclRefExpr rather than re-using the existing
DeclRefExpr. Patch by Likai Liu, fixes PR8345.
llvm-svn: 139373
|
| |
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 139369
|
| |
|
|
| |
llvm-svn: 139368
|
| |
|
|
| |
llvm-svn: 139367
|
| |
|
|
| |
llvm-svn: 139364
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
in the translation unit.
llvm-svn: 139358
|
| |
|
|
| |
llvm-svn: 139357
|
| |
|
|
| |
llvm-svn: 139355
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
around variable names so that this visitor be more like other visitors in clang.
llvm-svn: 139351
|
| |
|
|
|
|
| |
CXXBaseSpecifier, CXXCtorInitializer, NestedNameSpecifier, TemplateParameterList and removed their typedefs.
llvm-svn: 139350
|
| |
|
|
|
|
| |
removed typedef of AttrTy since it is not used.
llvm-svn: 139349
|
| |
|
|
|
|
|
| |
indicates that a declaration is only visible within the module it is
declared in.
llvm-svn: 139348
|
| |
|
|
| |
llvm-svn: 139347
|
| |
|
|
|
|
| |
conflicts between declarations and definitions from this and previous refactorings.
llvm-svn: 139346
|
| |
|
|
| |
llvm-svn: 139334
|
| |
|
|
|
|
|
|
| |
these should be in stdint.h - and they already are.
Fixes rdar://10097036.
llvm-svn: 139332
|
| |
|
|
|
|
| |
from earlier commit
llvm-svn: 139331
|
| |
|
|
| |
llvm-svn: 139326
|
| |
|
|
|
|
| |
shared variables, while Locks are the objects that acquire and release Mutexes. We switch to this new terminology.
llvm-svn: 139321
|