- Aug 16, 2008
-
-
Daniel Dunbar authored
- We are beyond the point where this shows up often and when it does generating miscompiled files is bad. llvm-svn: 54836
-
- Aug 11, 2008
-
-
Daniel Dunbar authored
- Remove internal uses of AST.h llvm-svn: 54628
-
- Aug 08, 2008
-
-
Chris Lattner authored
llvm-svn: 54548
-
- Jul 27, 2008
-
-
Chris Lattner authored
llvm-svn: 54107
-
- Jun 17, 2008
-
-
Ted Kremenek authored
clang as a Release build. The big change is that all AST nodes (subclasses of Stmt) whose children are Expr* store their children as Stmt* or arrays of Stmt*. This is to remove strict-aliasing warnings when using StmtIterator. None of the interfaces of any of the classes have changed (except those with arg_iterators, see below), as the accessor methods introduce the needed casts (via cast<>). While this extra casting may seem cumbersome, it actually adds some important sanity checks throughout the codebase, as clients using StmtIterator can potentially overwrite children that are expected to be Expr* with Stmt* (that aren't Expr*). The casts provide extra sanity checks that are operational in debug builds to catch invariant violations such as these. For classes that have arg_iterators (e.g., CallExpr), the definition of arg_iterator has been replaced. Instead of it being Expr**, it is an actual class (called ExprIterator) that wraps a Stmt**, and provides the necessary operators for iteration. The nice thing about this class is that it also uses cast<> to type-checking, which introduces extra sanity checks throughout the codebase that are useful for debugging. A few of the CodeGen functions that use arg_iterator (especially from OverloadExpr) have been modified to take begin and end iterators instead of a base Expr** and the number of arguments. This matches more with the abstraction of iteration. This still needs to be cleaned up a little bit, as clients expect that ExprIterator is a RandomAccessIterator (which we may or may not wish to allow for efficiency of representation). This is a fairly large patch. It passes the tests (except CodeGen/bitfield.c, which was already broken) on both a Debug and Release build, but it should obviously be reviewed. llvm-svn: 52378
-
- May 14, 2008
-
-
Eli Friedman authored
llvm-svn: 51080
-
- May 04, 2008
-
-
Chris Lattner authored
llvm-svn: 50623
-
- Apr 13, 2008
-
-
Chris Lattner authored
llvm-svn: 49607
-
- Apr 08, 2008
-
-
Chris Lattner authored
interaction for function parameters, fixing PR2046. Patch by Doug Gregor! llvm-svn: 49369
-
- Apr 06, 2008
-
-
Gabor Greif authored
llvm-svn: 49279
-
- Apr 04, 2008
-
-
Chris Lattner authored
generator needs to call isAnyComplexType(). This fixes PR1960. llvm-svn: 49220
-
- Mar 19, 2008
-
-
Chris Lattner authored
llvm-svn: 48534
-
- 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
-
- Jan 30, 2008
-
-
Nate Begeman authored
llvm-svn: 46572
-
- Dec 29, 2007
-
-
Chris Lattner authored
discussion of this change. llvm-svn: 45410
-
- Dec 11, 2007
-
-
Ted Kremenek authored
SourceManager is passed by reference, allowing the SourceManager to be associated with a specific translation unit, and not the entire execution of the driver. Modified all users of Diagnostics to comply with this new interface. Integrated SourceManager as a member variable of TargetInfo. TargetInfo will eventually be associated with a single translation unit (just like SourceManager). Made the SourceManager reference in ASTContext private. Provided accessor getSourceManager() for clients to use instead. Modified clients to comply with new interface. llvm-svn: 44878
-
- Dec 02, 2007
-
-
Chris Lattner authored
llvm-svn: 44503
-
- Oct 30, 2007
-
-
Devang Patel authored
llvm-svn: 43516
-
- Oct 25, 2007
-
-
Chris Lattner authored
some code. llvm-svn: 43322
-
- Oct 09, 2007
-
-
Devang Patel authored
llvm-svn: 42807
-
- Sep 13, 2007
-
-
Chris Lattner authored
llvm-svn: 41926
-
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
-
- Sep 01, 2007
-
-
Chris Lattner authored
llvm-svn: 41661
-
Chris Lattner authored
support any sort of expr, add a new EmitAnyExpr routine. llvm-svn: 41660
-
- Aug 27, 2007
-
-
Chris Lattner authored
llvm-svn: 41466
-
Chris Lattner authored
llvm-svn: 41463
-
- Aug 26, 2007
-
-
Chris Lattner authored
llvm-svn: 41458
-
Chris Lattner authored
llvm-svn: 41457
-
Chris Lattner authored
llvm-svn: 41444
-
Chris Lattner authored
llvm-svn: 41433
-
Chris Lattner authored
llvm-svn: 41429
-
Chris Lattner authored
llvm-svn: 41414
-
- Aug 24, 2007
-
-
Chris Lattner authored
This patch temporarily breaks compound assignment operators, but greatly simplifies many things. llvm-svn: 41355
-
Chris Lattner authored
llvm-svn: 41350
-
Chris Lattner authored
llvm-svn: 41349
-
Chris Lattner authored
llvm-svn: 41345
-
Chris Lattner authored
llvm-svn: 41344
-
- Aug 23, 2007
-
-
Chris Lattner authored
llvm-svn: 41336
-