- Jun 30, 2009
-
-
Argyrios Kyrtzidis authored
Timings showed no significant difference before and after the commit. llvm-svn: 74504
-
Argyrios Kyrtzidis authored
llvm-svn: 74503
-
Argyrios Kyrtzidis authored
llvm-svn: 74502
-
Argyrios Kyrtzidis authored
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
-
Chris Lattner authored
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
-
Fariborz Jahanian authored
llvm-svn: 74486
-
Anders Carlsson authored
llvm-svn: 74481
-
Fariborz Jahanian authored
list. llvm-svn: 74480
-
Daniel Dunbar authored
llvm-svn: 74479
-
Anders Carlsson authored
llvm-svn: 74472
-
Daniel Dunbar authored
llvm-svn: 74467
-
Douglas Gregor authored
- 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
-
Fariborz Jahanian authored
in the ctor-initializer list. More to come. llvm-svn: 74465
-
- Jun 29, 2009
-
-
Anders Carlsson authored
llvm-svn: 74460
-
Douglas Gregor authored
redundant, implicit instantiations of function templates and provide a place where we can hang function template specializations. llvm-svn: 74454
-
Daniel Dunbar authored
- Patch by Jonathan Gray! llvm-svn: 74453
-
Argyrios Kyrtzidis authored
-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
-
Chris Lattner authored
by pointer. llvm-svn: 74432
-
Douglas Gregor authored
FunctionTemplateSpecializationInfo, in DeclTemplate.h. No functionality change. llvm-svn: 74431
-
Steve Naroff authored
Convert clients to use ASTContext::getObjCObjectPointerType(). llvm-svn: 74424
-
Zhongxing Xu authored
llvm-svn: 74419
-
Bill Wendling authored
llvm-svn: 74414
-
- Jun 28, 2009
-
-
Anders Carlsson authored
llvm-svn: 74413
-
Nate Begeman authored
The issue this was working around is no longer present in TOT clang. llvm-svn: 74411
-
Zhongxing Xu authored
handled by RetrieveArray(). llvm-svn: 74409
-
Zhongxing Xu authored
symbol. llvm-svn: 74408
-
Zhongxing Xu authored
llvm-svn: 74407
-
Zhongxing Xu authored
memregion. llvm-svn: 74406
-
Bill Wendling authored
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
-
Nate Begeman authored
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
-
Nate Begeman authored
llvm-svn: 74397
-
- Jun 27, 2009
-
-
Douglas Gregor authored
llvm-svn: 74390
-
Eli Friedman authored
out an error for a malformed __builtin_offsetof. llvm-svn: 74388
-
Fariborz Jahanian authored
llvm-svn: 74386
-
Eli Friedman authored
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
-
Eli Friedman authored
it doesn't actually work yet; we just error out a bit more gracefully. llvm-svn: 74381
-
Eli Friedman authored
parameter has a dependent type. llvm-svn: 74380
-
Anders Carlsson authored
llvm-svn: 74369
-
Anders Carlsson authored
llvm-svn: 74362
-
Ted Kremenek authored
llvm-svn: 74361
-