- Jan 20, 2009
-
-
Sebastian Redl authored
This allows more concise syntax when allocating an object using the ASTContext's allocator. Convert a few allocations to this operator to for test purposes. llvm-svn: 62623
-
Mike Stump authored
llvm-svn: 62621
-
Anders Carlsson authored
llvm-svn: 62620
-
Daniel Dunbar authored
- This is a hack to allow the Darwin linker to get -final_output when doing universal builds; the mechanism should be generalized. - Handle multiple redundant -arch arguments correctly. - Forward -arch_multiple and -final_output to gcc when necessary. - Simplified implementation of derived gcc tools. llvm-svn: 62618
-
Mike Stump authored
llvm-svn: 62614
-
Chris Lattner authored
caused by my previous commit. llvm-svn: 62613
-
Steve Naroff authored
When using a BumpPtrAllocator, this reduces malloc overhead from 2.2->1.9% (for Cocoa.h). At this point, malloc() has dropped the fourth most expensive routine (behind Preprocessor::HandleIdentifier()). llvm-svn: 62612
-
Douglas Gregor authored
llvm-svn: 62611
-
-
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
llvm-svn: 62586
-
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
-
Daniel Dunbar authored
now fully independent of the gcc driver when targetting Darwin/x86. llvm-svn: 62570
-
Daniel Dunbar authored
filename from the input path. llvm-svn: 62569
-
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
llvm-svn: 62567
-
Daniel Dunbar authored
- Clean up some placement of output args to match gcc more precisely (for testing). llvm-svn: 62566
-
Daniel Dunbar authored
llvm-svn: 62565
-
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
-
Daniel Dunbar authored
- Add Darwin_X86_CC1Tool which is shared by Darwin/x86/Compile and Darwin/x86/Preprocess tools. - Minor bug fixes (CmpDriver exit code, -x cpp-output handling, some linker argument translation). llvm-svn: 62551
-
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
-
Sebastian Redl authored
llvm-svn: 62532
-
Ted Kremenek authored
llvm-svn: 62531
-
Ted Kremenek authored
llvm-svn: 62530
-
Fariborz Jahanian authored
that rules for assignment. llvm-svn: 62524
-
Daniel Dunbar authored
llvm-svn: 62523
-
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
-
Daniel Dunbar authored
llvm-svn: 62520
-
Daniel Dunbar authored
- This doesn't follow normal installation procedure of python code, but no sense trying too hard since ccc will be moved to C++. - Entry point is now tools/ccc. llvm-svn: 62517
-
Fariborz Jahanian authored
with @synthesize being illegal. llvm-svn: 62515
-