- Oct 30, 2007
-
-
Devang Patel authored
+ llvm::DenseMap<Type *, llvm::PATypeHolder> TypeHolderMap; instead of - llvm::DenseMap<Type *, llvm::PATypeHolder *> TypeHolderMap; llvm-svn: 43514
-
Devang Patel authored
llvm-svn: 43508
-
- Oct 29, 2007
-
-
Devang Patel authored
llvm-svn: 43472
-
Devang Patel authored
an unimplemented work and continue. llvm-svn: 43449
-
Anders Carlsson authored
llvm-svn: 43439
-
Anders Carlsson authored
llvm-svn: 43429
-
- Oct 26, 2007
-
-
Devang Patel authored
llvm-svn: 43390
-
Devang Patel authored
llvm-svn: 43387
-
Devang Patel authored
Code gen static initializer. llvm-svn: 43386
-
Devang Patel authored
llvm-svn: 43385
-
Devang Patel authored
llvm-svn: 43383
-
Devang Patel authored
llvm-svn: 43365
-
- Oct 25, 2007
-
-
Devang Patel authored
llvm-svn: 43363
-
Devang Patel authored
llvm-svn: 43355
-
Chris Lattner authored
some code. llvm-svn: 43322
-
Devang Patel authored
llvm-svn: 43317
-
Devang Patel authored
foo()->a = 42; llvm-svn: 43315
-
- Oct 24, 2007
-
-
Devang Patel authored
llvm-svn: 43310
-
Devang Patel authored
llvm-svn: 43301
-
Devang Patel authored
llvm-svn: 43300
-
Devang Patel authored
Constify methods and reuse RecordOrganizer object. llvm-svn: 43284
-
Devang Patel authored
llvm-svn: 43283
-
Devang Patel authored
llvm-svn: 43282
-
Devang Patel authored
llvm-svn: 43281
-
Devang Patel authored
llvm-svn: 43280
-
Hartmut Kaiser authored
llvm-svn: 43278
-
Devang Patel authored
typdef struct A { int i; struct A *next; } A llvm-svn: 43268
-
- Oct 23, 2007
-
-
Devang Patel authored
llvm-svn: 43258
-
Devang Patel authored
llvm-svn: 43236
-
- Oct 17, 2007
-
-
Hartmut Kaiser authored
Silenced some VC++ warnings. Had to rephrase a partial specialization of the IntrospectionTrait struct in SerializationTest.cpp, please review. Added a compiler specific workaround in IdentifierTable.h. Is that the way to fix this kind of issues? llvm-svn: 43074
-
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 15, 2007
-
-
Steve Naroff authored
Move type compatibility predicates from Type to ASTContext. In addition, the predicates are now instance methods (they were previously static class methods on Type). This allowed me to fix the following hack from this weekend... // FIXME: Devise a way to do this without using strcmp. // Would like to say..."return getAsStructureType() == IdStructType;", but // we don't have a pointer to ASTContext. bool Type::isObjcIdType() const { if (const RecordType *RT = getAsStructureType()) return !strcmp(RT->getDecl()->getName(), "objc_object"); return false; } ...which is now... bool isObjcIdType(QualType T) const { return T->getAsStructureType() == IdStructType; } Side notes: - I had to remove a convenience function from the TypesCompatibleExpr class. int typesAreCompatible() const {return Type::typesAreCompatible(Type1,Type2);} Which required a couple clients get a little more verbose... - Result = TCE->typesAreCompatible(); + Result = Ctx.typesAreCompatible(TCE->getArgType1(), TCE->getArgType2()); Overall, I think this change also makes sense for a couple reasons... 1) Since ASTContext vends types, it makes sense for the type compatibility API to be there. 2) This allows the type compatibility predeciates to refer to data not strictly present in the AST (which I have found problematic on several occasions). llvm-svn: 43009
-
Anders Carlsson authored
llvm-svn: 43006
-
- Oct 13, 2007
-
-
Anders Carlsson authored
llvm-svn: 42951
-
Anders Carlsson authored
llvm-svn: 42939
-
- Oct 09, 2007
-
-
Devang Patel authored
llvm-svn: 42811
-
Devang Patel authored
llvm-svn: 42808
-
Devang Patel authored
llvm-svn: 42807
-
Devang Patel authored
Use copy for LHS, because it is incremented using ++ operator. llvm-svn: 42792
-
Devang Patel authored
llvm-svn: 42791
-