| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
Mark the super region of the binding of block level expr in the Environment
as live.
llvm-svn: 74525
|
|
|
|
|
|
|
|
|
|
|
| |
unknown for it.
Mark the super region of a live region as live, if the live region is pointed
to by a live pointer variable.
These fixes xfail_regionstore_wine_crash.c.
llvm-svn: 74524
|
|
|
|
|
|
|
|
|
|
| |
DeclStmt would be dead before the DeclStmt.
For example:
int x = 0;
int y = x;
'x' would be dead before 'int y = x'.
llvm-svn: 74522
|
|
|
|
| |
llvm-svn: 74521
|
|
|
|
| |
llvm-svn: 74517
|
|
|
|
|
|
| |
create TypedViewRegion for it.
llvm-svn: 74516
|
|
|
|
|
|
| |
David Majnemer!
llvm-svn: 74513
|
|
|
|
|
|
|
| |
Remove ASTContext parameter from DeclContext's methods. This change cascaded down to other Decl's methods and changes to call sites started "escalating".
Timings using pre-tokenized "cocoa.h" showed only a ~1% increase in time run between and after this commit.
llvm-svn: 74506
|
|
|
|
|
|
|
|
| |
subclasses.
Timings showed no significant difference before and after the commit.
llvm-svn: 74504
|
|
|
|
| |
llvm-svn: 74503
|
|
|
|
|
|
| |
TranslationUnitDecl.
llvm-svn: 74502
|
|
|
|
|
|
|
|
|
| |
The implementations of these methods can Use Decl::getASTContext() to get the ASTContext.
This commit touches a lot of files since call sites for these methods are everywhere.
I used pre-tokenized "carbon.h" and "cocoa.h" headers to do some timings, and there was no real time difference between before the commit and after it.
llvm-svn: 74501
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is simple enough, but then I thought it would be nice to make PrintingPolicy
get a LangOptions so that various things can key off "bool" and "C++" independently.
This spiraled out of control. There are many fixme's, but I think things are slightly
better than they were before.
One thing that can be improved: CFG should probably have an ASTContext pointer in it,
which would simplify its clients.
llvm-svn: 74493
|
|
|
|
| |
llvm-svn: 74486
|
|
|
|
| |
llvm-svn: 74481
|
|
|
|
|
|
| |
list.
llvm-svn: 74480
|
|
|
|
| |
llvm-svn: 74479
|
|
|
|
|
|
| |
overloaded function decl.
llvm-svn: 74472
|
|
|
|
| |
llvm-svn: 74467
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Track implicit instantiations vs. the not-yet-supported explicit
specializations
- Give implicit instantiations of function templates (and member
functions of class templates) linkonce_odr linkage.
- Improve name mangling for function template specializations,
including the template arguments of the instantiation and the return
type of the function.
Note that our name-mangling is improved, but not correct: we still
don't mangle substitutions, although the manglings we produce can be
demangled.
llvm-svn: 74466
|
|
|
|
|
|
| |
in the ctor-initializer list. More to come.
llvm-svn: 74465
|
|
|
|
| |
llvm-svn: 74460
|
|
|
|
|
|
|
| |
redundant, implicit instantiations of function templates and provide a
place where we can hang function template specializations.
llvm-svn: 74454
|
|
|
|
|
|
| |
- Patch by Jonathan Gray!
llvm-svn: 74453
|
|
|
|
|
|
|
|
| |
-Introduce Decl::getASTContext() which returns the reference from the TranslationUnitDecl that it is contained in.
The general idea is that Decls can point to their own ASTContext so that it is no longer required to "manually" keep track and make sure that you pass the correct ASTContext to Decls' methods, e.g. methods like Decl::getAttrs should eventually not require a ASTContext parameter.
llvm-svn: 74434
|
|
|
|
|
|
| |
by pointer.
llvm-svn: 74432
|
|
|
|
|
|
| |
FunctionTemplateSpecializationInfo, in DeclTemplate.h. No functionality change.
llvm-svn: 74431
|
|
|
|
|
|
| |
Convert clients to use ASTContext::getObjCObjectPointerType().
llvm-svn: 74424
|
|
|
|
| |
llvm-svn: 74419
|
|
|
|
| |
llvm-svn: 74414
|
|
|
|
|
|
| |
Fixes PR4470.
llvm-svn: 74413
|
|
|
|
|
|
| |
The issue this was working around is no longer present in TOT clang.
llvm-svn: 74411
|
|
|
|
|
|
| |
handled by RetrieveArray().
llvm-svn: 74409
|
|
|
|
|
|
| |
symbol.
llvm-svn: 74408
|
|
|
|
| |
llvm-svn: 74407
|
|
|
|
|
|
| |
memregion.
llvm-svn: 74406
|
|
|
|
|
|
|
|
| |
function attributes. There are predefined macros that are defined when stack
protectors are used: __SSP__=1 with -fstack-protector and __SSP_ALL__=2 with
-fstack-protector-all.
llvm-svn: 74405
|
|
|
|
|
|
|
|
| |
Handle rules for ExtVector + ExtVector and ExtVector + Scalar operations.
Fix problem Eli noticed where we were allowing pointer types to be splatted to
vector elements.
llvm-svn: 74404
|
|
|
|
| |
llvm-svn: 74397
|
|
|
|
| |
llvm-svn: 74390
|
|
|
|
|
|
| |
out an error for a malformed __builtin_offsetof.
llvm-svn: 74388
|
|
|
|
| |
llvm-svn: 74386
|
|
|
|
|
|
|
| |
making sure we return true when annotating a function template with
explicit template arguments, but not when we don't annotate anything.)
llvm-svn: 74383
|
|
|
|
|
|
| |
it doesn't actually work yet; we just error out a bit more gracefully.
llvm-svn: 74381
|
|
|
|
|
|
| |
parameter has a dependent type.
llvm-svn: 74380
|
|
|
|
| |
llvm-svn: 74369
|
|
|
|
| |
llvm-svn: 74362
|
|
|
|
| |
llvm-svn: 74361
|
|
|
|
| |
llvm-svn: 74359
|
|
|
|
| |
llvm-svn: 74358
|