- Oct 30, 2007
-
-
Devang Patel authored
llvm-svn: 43508
-
- Oct 29, 2007
-
-
Anders Carlsson authored
llvm-svn: 43439
-
- Oct 26, 2007
-
-
Devang Patel authored
llvm-svn: 43365
-
- Oct 25, 2007
-
-
Chris Lattner authored
some code. llvm-svn: 43322
-
- Oct 24, 2007
-
-
Devang Patel authored
llvm-svn: 43301
-
Devang Patel authored
llvm-svn: 43300
-
- 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
-
- 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: 42807
-
- Sep 22, 2007
-
-
Chris Lattner authored
APFloat straight through to LLVM now. llvm-svn: 42236
-
- Sep 13, 2007
-
-
Chris Lattner authored
llvm-svn: 41926
-
Chris Lattner authored
the front-end adopts APFloat though. This fixes test/CodeGen/mandel.c llvm-svn: 41908
-
Chris Lattner authored
llvm-svn: 41907
-
- Sep 07, 2007
-
-
Hartmut Kaiser authored
Silenced a couple of warnings. Added *.vcproj file for new clangAnalysis library. Renamed Basic to clangBasic projects. llvm-svn: 41767
-
- Sep 04, 2007
-
-
Ted Kremenek authored
llvm-svn: 41704
-
Chris Lattner authored
llvm-svn: 41692
-
- Sep 01, 2007
-
-
Chris Lattner authored
support any sort of expr, add a new EmitAnyExpr routine. llvm-svn: 41660
-
Chris Lattner authored
llvm-svn: 41656
-
- Aug 27, 2007
-
-
Chris Lattner authored
llvm-svn: 41464
-
- Aug 26, 2007
-
-
Chris Lattner authored
llvm-svn: 41460
-
Chris Lattner authored
llvm-svn: 41451
-
Chris Lattner authored
llvm-svn: 41450
-
Chris Lattner authored
llvm-svn: 41449
-
Chris Lattner authored
llvm-svn: 41448
-
Chris Lattner authored
llvm-svn: 41446
-
Chris Lattner authored
llvm-svn: 41445
-
Chris Lattner authored
llvm-svn: 41440
-
Chris Lattner authored
llvm-svn: 41439
-
Chris Lattner authored
llvm-svn: 41438
-
Chris Lattner authored
llvm-svn: 41435
-
Chris Lattner authored
llvm-svn: 41433
-
Chris Lattner authored
GCC bug PR33192. llvm-svn: 41427
-
Chris Lattner authored
llvm-svn: 41425
-
- Aug 25, 2007
-
-
Chris Lattner authored
llvm-svn: 41405
-
- Aug 24, 2007
-
-
Chris Lattner authored
llvm-svn: 41376
-
Chris Lattner authored
operators in all their glory :) llvm-svn: 41373
-
Chris Lattner authored
llvm-svn: 41361
-