- Jun 30, 2009
-
-
Argyrios Kyrtzidis authored
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
-
Argyrios Kyrtzidis authored
It's not getASTContext() to avoid "getASTContext is ambiguous" compiler errors for subclasses of both Decl and DeclContext. llvm-svn: 74505
-
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
-
Evan Cheng authored
llvm-svn: 74500
-
Andreas Bolka authored
llvm-svn: 74499
-
Daniel Dunbar authored
llvm-svn: 74498
-
Daniel Dunbar authored
legally negate an MCValue. llvm-svn: 74497
-
Daniel Dunbar authored
llvm-svn: 74496
-
Dan Gohman authored
llvm-svn: 74495
-
Dan Gohman authored
This will allow it to be used in unittests that use gtest's EXPECT_EQ. llvm-svn: 74494
-
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
-
Dan Gohman authored
llvm-svn: 74492
-
Dan Gohman authored
llvm-svn: 74491
-
David Goodwin authored
llvm-svn: 74490
-
Daniel Dunbar authored
- Don't print "Parsing" in front of every message. - Take additional "type" argument which is prepended to the message (with ": ") if given. - Update clients to print errors (warnings) as: <filename>:<line number>: error(warning): ... llvm-svn: 74489
-
Owen Anderson authored
Add LLVMContext, which will eventually be used as a container for privatizing a lot of (currently) global state, including the constant and type uniquing tables. For now, just make it a wrapper around the existing APIs. llvm-svn: 74488
-
Daniel Dunbar authored
llvm-svn: 74487
-
Fariborz Jahanian authored
llvm-svn: 74486
-
Mikhail Glushenkov authored
llvm-svn: 74485
-
Mikhail Glushenkov authored
llvm-svn: 74484
-
Mikhail Glushenkov authored
llvm-svn: 74483
-
Mikhail Glushenkov authored
llvm-svn: 74482
-
Anders Carlsson authored
llvm-svn: 74481
-
Fariborz Jahanian authored
list. llvm-svn: 74480
-
Daniel Dunbar authored
llvm-svn: 74479
-
Daniel Dunbar authored
llvm-svn: 74478
-
Devang Patel authored
llvm-svn: 74477
-
Daniel Dunbar authored
- For example, we diagnose errors on: -- a: a = 10 -- - For now we reject code like: -- .long a a = 10 -- which "as" accepts (on Darwin). llvm-svn: 74476
-
Daniel Dunbar authored
- To support using SMLoc as a sentinel. llvm-svn: 74474
-
Daniel Dunbar authored
llvm-svn: 74473
-
Anders Carlsson authored
llvm-svn: 74472
-
David Greene authored
Remove commented code. llvm-svn: 74471
-
David Greene authored
Add a 256-bit register class and YMM registers. llvm-svn: 74469
-
David Goodwin authored
llvm-svn: 74468
-
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
-