- Jan 20, 2009
-
-
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
-
Nate Begeman authored
llvm-svn: 62455
-
Chris Lattner authored
rearrange GetIdentifierInfo so that the fast path can be partially inlined into PTHLexer::Lex. This speeds up the user time of PTH -Eonly by another 2ms (4.4%) llvm-svn: 62454
-
Chris Lattner authored
llvm-svn: 62450
-
Chris Lattner authored
instead of assembling from bytes. This speeds up -Eonly PTH reading of cocoa.h by about 2ms, which is 4.2%. llvm-svn: 62447
-
-
Chris Lattner authored
copies. I verified that this causes no performance change in PTH. llvm-svn: 62445
-
Anders Carlsson authored
llvm-svn: 62444
-
Nate Begeman authored
llvm-svn: 62443
-
Chris Lattner authored
internally. This is just a cleanup that reduces the need to cast to unsigned char before assembling a larger integer. llvm-svn: 62442
-