- Nov 30, 2009
-
-
Chris Lattner authored
stat a file but where mmaping it fails. In this case, we emit an error like: t.c:1:10: fatal error: error opening file '../../foo.h' instead of "cannot find file". llvm-svn: 90110
-
- Oct 18, 2009
-
-
Daniel Dunbar authored
are updated. llvm-svn: 84447
-
Daniel Dunbar authored
- strcmp -> == - OS.write(II->getName() ...) -> OS << II->getNameStr() - Avoid std::string concatenation - Use getNameStr().str() when an std::string is really needed. llvm-svn: 84437
-
- Sep 09, 2009
-
-
Mike Stump authored
llvm-svn: 81346
-
- Aug 24, 2009
-
-
Torok Edwin authored
llvm-svn: 79916
-
- Aug 23, 2009
-
-
Benjamin Kramer authored
llvm-svn: 79854
-
- Aug 19, 2009
-
-
Daniel Dunbar authored
- Please accept my sincere apologies for the gratuitous elimination of code duplication, manual string length counting, unnecessary strlen calls, etc. llvm-svn: 79448
-
- May 19, 2009
-
-
Eli Friedman authored
files to lib/Frontend. llvm-svn: 72099
-
Eli Friedman authored
filename (or unconditionally using stdout). llvm-svn: 72085
-
- Apr 15, 2009
-
-
Chris Lattner authored
This allows it to accurately measure tokens, so that we get: t.cpp:8:13: error: unknown type name 'X' static foo::X P; ~~~~~^ instead of the woefully inferior: t.cpp:8:13: error: unknown type name 'X' static foo::X P; ~~~~ ^ Most of this is just plumbing to push the reference around. llvm-svn: 69099
-
- Mar 31, 2009
-
-
Ted Kremenek authored
low-level frontend driver. llvm-svn: 68131
-
- Mar 24, 2009
-
-
Daniel Dunbar authored
Again, I tried to update cmake but it is untested. llvm-svn: 67605
-
- Jan 27, 2009
-
-
Chris Lattner authored
llvm-svn: 63097
-
- Jan 17, 2009
-
-
Chris Lattner authored
llvm-svn: 62416
-
Chris Lattner authored
"FileID" a concept that is now enforced by the compiler's type checker instead of yet-another-random-unsigned floating around. This is an important distinction from the "FileID" currently tracked by SourceLocation. *That* FileID may refer to the start of a file or to a chunk within it. The new FileID *only* refers to the file (and its #include stack and eventually #line data), it cannot refer to a chunk. FileID is a completely opaque datatype to all clients, only SourceManager is allowed to poke and prod it. llvm-svn: 62407
-
- Jan 16, 2009
-
-
Chris Lattner authored
"logical" location, refer to the "instantiation" location. llvm-svn: 62316
-
- Nov 13, 2008
-
-
Daniel Dunbar authored
the Backend output should be done in binary mode. - I'd appreciate it if someone who has a Windows build could verify this. llvm-svn: 59221
-
- Oct 12, 2008
-
-
Chris Lattner authored
using LexRawToken, create one and use LexFromRawLexer. This avoids twiddling the RawLexer flag around and simplifies some code (even speeding raw lexing up a tiny bit). This change also improves the token paster to use a Lexer on the stack instead of new/deleting it. llvm-svn: 57393
-
- Sep 13, 2008
-
-
Ted Kremenek authored
"Here is a patch what replaces std::ostream with llvm::raw_ostream. This patch covers the AST library, but ignores Analysis lib." llvm-svn: 56185
-
- Aug 14, 2008
-
-
Ted Kremenek authored
llvm-svn: 54774
-
- Jul 25, 2008
-
-
Chris Lattner authored
llvm-svn: 54020
-
Chris Lattner authored
everything up front into a vector. This makes it easier to scan around the stream when needed. llvm-svn: 54019
-
- Jun 03, 2008
-
-
Chris Lattner authored
lead with a space. llvm-svn: 51896
-
- Jun 01, 2008
-
-
Chris Lattner authored
llvm-svn: 51827
-
- May 10, 2008
-
-
Chris Lattner authored
macros but doesn't expand #includes, remove comments, remove #defines etc. For example: ---- #include <stdio.h> #define bbaa #define funclike(x) x "a" x "b" x bbaa bbaa #if 1 funclike("gar") foo /*blah*/ bar bar #endif #if 0 funclike() #endif ---- rewrites to: ---- #include <stdio.h> #define bbaa #define funclike(x) x "a" x "b" x /*bbaa bbaa*/ #if 1 "gar" "a" "gar" "b" "gar"/*funclike*//*("gar")*/ foo /*blah*/ bar bar #endif #if 0 /*funclike()*/ #endif ---- llvm-svn: 50925
-
Chris Lattner authored
llvm-svn: 50920
-
- May 08, 2008
-
-
Chris Lattner authored
llvm-svn: 50845
-