- Dec 12, 2008
-
-
Anders Carlsson authored
llvm-svn: 60943
-
- Nov 24, 2008
-
-
Chris Lattner authored
NamedDecl::getNameAsString() to make it more explicit. llvm-svn: 59937
-
Chris Lattner authored
assert if the name is not an identifier. Update callers to do the right thing and avoid this method in unsafe cases. This also fixes an objc warning that was missing a space, and migrates a couple more to taking IdentifierInfo and QualTypes instead of std::strings. llvm-svn: 59936
-
- Nov 17, 2008
-
-
Douglas Gregor authored
representing the names of declarations in the C family of languages. DeclarationName is used in NamedDecl to store the name of the declaration (naturally), and ObjCMethodDecl is now a NamedDecl. llvm-svn: 59441
-
- Nov 10, 2008
-
-
Chris Lattner authored
using MachineModuleInfo. This runs at about the same speed as the old code, but fixes a bunch of bugs and is simpler and shorter. llvm-svn: 58971
-
- Oct 31, 2008
-
-
Sanjiv Gupta authored
etc more generic. For some targets, long may not be equal to pointer size. For example: PIC16 has int as i16, ptr as i16 but long as i32. Also fixed a few build warnings in assert() functions in CFRefCount.cpp, CGDecl.cpp, SemaDeclCXX.cpp and ParseDeclCXX.cpp. llvm-svn: 58501
-
- Oct 17, 2008
-
-
Daniel Dunbar authored
simplifies clients. Also, add assert that RegionStack is empty when the CGDebugInfo is destroyed. llvm-svn: 57684
-
- Oct 15, 2008
-
-
Argyrios Kyrtzidis authored
Instead of using two sets of Decl kinds (Struct/Union/Class and CXXStruct/CXXUnion/CXXClass), use one 'Record' and one 'CXXRecord' Decl kind and make tag kind a property of TagDecl. Cleans up the code a bit and better reflects that Decl class structure. llvm-svn: 57541
-
- Sep 17, 2008
-
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 56269
-
- Aug 29, 2008
-
-
Daniel Dunbar authored
- Notably VLAs llvm-svn: 55544
-
- Aug 25, 2008
-
-
Anders Carlsson authored
llvm-svn: 55297
-
- Aug 22, 2008
-
-
Anders Carlsson authored
llvm-svn: 55180
-
- Aug 16, 2008
-
-
Daniel Dunbar authored
Change CodeGenFunction::EmitParmDecl to take either a ParmVarDecl or an ImplicitParamDecl. Drop hasAggregateLLVMType from CodeGenModule.cpp (use version in CodeGenFunction). Change the Objective-C method generation to use EmitParmDecl for implicit parameters. llvm-svn: 54838
-
- Aug 11, 2008
-
-
Daniel Dunbar authored
- Drop {Decl.h,DeclObjC.h,IdentifierTable.h} from Expr.h - Moved Sema::getCurMethodDecl() out of line (dependent on ObjCMethodDecl via dyn_cast). llvm-svn: 54629
-
Daniel Dunbar authored
- Remove internal uses of AST.h llvm-svn: 54628
-
- Jun 14, 2008
-
-
Eli Friedman authored
qualifier in the lvalue, and changes lvalue loads/stores to honor the volatile flag. Places which need some further attention are marked with FIXMEs. Patch by Cédric Venet. llvm-svn: 52264
-
- Jun 10, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 52162
-
- Jun 08, 2008
-
-
Eli Friedman authored
This fix just makes sure to construct the global with the appropriate type, and fixes up the one user this affects to compensate. llvm-svn: 52084
-
- Jun 05, 2008
-
-
Sanjiv Gupta authored
llvm-svn: 51993
-
- May 31, 2008
-
-
Eli Friedman authored
llvm-svn: 51826
-
- May 30, 2008
-
-
Sanjiv Gupta authored
llvm-svn: 51765
-
- May 23, 2008
-
-
Dan Gohman authored
llvm::Type::isSingleValueType. Currently these two functions have the same behavior, but soon isFirstClassType will return true for struct and array types. Clang may some day want to use of isFirstClassType for some of these some day as an optimization, but it'll require some consideration. llvm-svn: 51446
-
- May 08, 2008
-
-
Chris Lattner authored
targets that do not support recursion (and thus codegen stack variables as globals). Patch contributed by Alireza Moshtaghi! llvm-svn: 50844
-
- Apr 19, 2008
-
-
Nate Begeman authored
llvm-svn: 49951
-
- Apr 16, 2008
-
-
Steve Naroff authored
Remove FileVarDecl and BlockVarDecl. They are replaced by VarDecl::isBlockVarDecl() and VarDecl::isFileVarDecl(). This is a fairly mechanical/large change. As a result, I avoided making any changes/simplifications that weren't directly related. I did break two Analysis tests. I also have a couple FIXME's in UninitializedValues.cpp. Ted, can you take a look? If the bug isn't obvious, I am happy to dig in and fix it (since I broke it). llvm-svn: 49748
-
- Apr 07, 2008
-
-
Chris Lattner authored
llvm-svn: 49295
-
- Apr 04, 2008
-
-
Chris Lattner authored
generator needs to call isAnyComplexType(). This fixes PR1960. llvm-svn: 49220
-
Chris Lattner authored
llvm-svn: 49201
-
- Mar 16, 2008
-
-
Chris Lattner authored
lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. llvm-svn: 48402
-
- Feb 26, 2008
-
-
Lauro Ramos Venancio authored
void g() { static char a[10]; static char *b = a; } Now we can compile wget! llvm-svn: 47627
-
- Feb 16, 2008
-
-
Lauro Ramos Venancio authored
llvm-svn: 47223
-
- Feb 15, 2008
-
-
Eli Friedman authored
llvm-svn: 47156
-
- Feb 06, 2008
-
-
Chris Lattner authored
static variables outside functions. llvm-svn: 46800
-
- Feb 04, 2008
-
-
Christopher Lamb authored
qualifiers use the __attribute__((address_space(id))) syntax. llvm-svn: 46691
-
- Jan 09, 2008
-
-
Chris Lattner authored
This fixes a crash reported by Seo Sanghyeon llvm-svn: 45778
-
- Dec 29, 2007
-
-
Chris Lattner authored
discussion of this change. llvm-svn: 45410
-
- Dec 02, 2007
-
-
Oliver Hunt authored
We now use the CodeGenModule logic for generating the constant initialiser expression, so happily further initialiser fixes should automatically work for statics as well. llvm-svn: 44495
-
- Oct 26, 2007
-
-
Devang Patel authored
Code gen static initializer. llvm-svn: 43386
-
- Oct 17, 2007
-
-
Anders Carlsson authored
Generate code for static variables that don't have initializers. Also, report an error if a static initializer is not constant. llvm-svn: 43058
-
- Oct 08, 2007
-
-
Chris Lattner authored
likewise block and param. Reorder the layout of the Decl kind enum so that the inheritance tree is reflected in the ordering. This allows trivial range comparisons to determine whether something is an instance of some abstract class, making classof faster. llvm-svn: 42772
-