- Jan 20, 2009
-
-
-
Fariborz Jahanian authored
case. llvm-svn: 62607
-
Steve Naroff authored
Add debug hook to DeclContext. llvm-svn: 62605
-
Fariborz Jahanian authored
llvm-svn: 62601
-
Chris Lattner authored
function DeclaratorChunk in common cases. This uses a fixed array in Declarator when it is small enough for the first function declarator chunk in a declarator. This eliminates all malloc/free traffic from DeclaratorChunk::getFunction when running on Cocoa.h except for five functions: signal/bsd_signal/sigset, which have multiple Function DeclChunk's, and CFUUIDCreateWithBytes/CFUUIDGetConstantUUIDWithBytes, which take more than 16 arguments. This patch was pair programmed with Steve. llvm-svn: 62599
-
Eli Friedman authored
struct. llvm-svn: 62585
-
Eli Friedman authored
va_list is a struct, like x86-64. If anyone has a better idea for how to do the check in the if statements, suggestions are welcome. llvm-svn: 62582
-
Douglas Gregor authored
Rename DeclContext::insert to DeclContext::makeDeclVisibleInContext and document both it and DeclContext::addDecl properly llvm-svn: 62581
-
Eli Friedman authored
builtins. Also, a minor tweak to va_copy for consistency. llvm-svn: 62574
-
Douglas Gregor authored
Remove the TopLevelDecls from TranslationUnit, since all of those decls are owned by the ASTContext's TranslationUnitDecl. There are definitely some leaking Decls now that I'll tackle tomorrow llvm-svn: 62568
-
Douglas Gregor authored
that every declaration lives inside a DeclContext. Moved several things that don't have names but were ScopedDecls (and, therefore, NamedDecls) to inherit from Decl rather than NamedDecl, including ObjCImplementationDecl and LinkageSpecDecl. Now, we don't store empty DeclarationNames for these things, nor do we try to insert them into DeclContext's lookup structure. The serialization tests are temporarily disabled. We'll re-enable them once we've sorted out the remaining ownership/serialiazation issues between DeclContexts and TranslationUnion, DeclGroups, etc. llvm-svn: 62562
-
Daniel Dunbar authored
llvm-svn: 62556
-
rdar://problem/6506065Ted Kremenek authored
Dead stores checker: Fix <rdar://problem/6506065> by being more selective when say that a store is dead even though the computed value is used in the enclosing expression. llvm-svn: 62552
-
Ted Kremenek authored
PTH: Emitted tokens now consist of 12 bytes that are loaded used 3 32-bit loads. This reduces user time but increases system time because of the slightly larger PTH file. Although there is no performance win on Cocoa.h and -Eonly, overall this seems like a good step. llvm-svn: 62542
-
- Jan 19, 2009
-
-
Steve Naroff authored
The QualType smart pointer assumes we have 3 flag bits available. llvm-svn: 62540
-
Sebastian Redl authored
llvm-svn: 62537
-
Ted Kremenek authored
llvm-svn: 62530
-
Fariborz Jahanian authored
that rules for assignment. llvm-svn: 62524
-
Douglas Gregor authored
new DiagnoseIncompleteType. It provides additional information about struct/class/union/enum types when possible, either by pointing to the forward declaration of that type or by pointing to the definition (if we're in the process of defining that type). Fixes <rdar://problem/6500531>. llvm-svn: 62521
-
Fariborz Jahanian authored
with @synthesize being illegal. llvm-svn: 62515
-
Chris Lattner authored
safe because a #line can change the file characteristic on a per-loc basis. llvm-svn: 62502
-
Chris Lattner authored
safe because a #line can change the file characteristic on a per-loc basis. llvm-svn: 62501
-
Chris Lattner authored
no longer such thing as a non-canonical FileID. llvm-svn: 62499
-
Ted Kremenek authored
Run destructors of MacroInfo objects to free memory they allocate. This addresses <rdar://problem/6506035>. llvm-svn: 62498
-
Chris Lattner authored
llvm-svn: 62497
-
Chris Lattner authored
llvm-svn: 62496
-
Chris Lattner authored
llvm-svn: 62495
-
Chris Lattner authored
SourceManager::getBuffer(SourceLocation) method. llvm-svn: 62494
-
Chris Lattner authored
llvm-svn: 62492
-
Chris Lattner authored
SourceLocation. This requires making some cleanups to token pasting and _Pragma expansion. llvm-svn: 62490
-
Sebastian Redl authored
Fix type of logical negation for C++. llvm-svn: 62475
-
- Jan 18, 2009
-
-
-
Nuno Lopes authored
llvm-svn: 62469
-
Sebastian Redl authored
These actions are extremely widely used (identifier expressions and literals); still no performance regression. llvm-svn: 62468
-
Sebastian Redl authored
llvm-svn: 62466
-
Sebastian Redl authored
llvm-svn: 62465
-
Sebastian Redl authored
llvm-svn: 62464
-
Sebastian Redl authored
llvm-svn: 62463
-
Chris Lattner authored
allocating them from a recycling bump pointer allocator. This reduces malloc/free traffic of parse-noop (but no other mode), which makes sharking -parse-noop more meaningful. llvm-svn: 62460
-
Nate Begeman authored
llvm-svn: 62458
-