- Jan 16, 2009
-
-
Chris Lattner authored
llvm-svn: 62334
-
Chris Lattner authored
notifying PPCallbacks about it. llvm-svn: 62333
-
Chris Lattner authored
documented here: http://msdn.microsoft.com/en-us/library/7f0aews7(VS.80).aspx This is according to my understanding reading the docs, I don't know if it really agrees fully with what VC++ allows. llvm-svn: 62317
-
- Nov 20, 2008
-
-
Ted Kremenek authored
information. A diff of the -E output for Cocoa.h shows that there is no change in output. llvm-svn: 59693
-
- Nov 19, 2008
-
-
Ted Kremenek authored
Use PreprocessorLexer::getFileID() instead of Lexer::getFileLoc(). This is an intermediate step to having getCurrentLexer() return a PreprocessorLexer* instead of a Lexer*. llvm-svn: 59672
-
Ted Kremenek authored
llvm-svn: 59668
-
- Nov 18, 2008
-
-
Chris Lattner authored
llvm-svn: 59512
-
Chris Lattner authored
llvm-svn: 59511
-
Ted Kremenek authored
llvm-svn: 59482
-
- Oct 04, 2008
-
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 57065
-
- Sep 26, 2008
-
-
Chris Lattner authored
DirectoryLookup::DirType into SourceManager.h llvm-svn: 56692
-
- Aug 11, 2008
-
-
Daniel Dunbar authored
- Kill unnecessary #includes in .cpp files. This is an automatic sweep so some things removed are actually used, but happen to be included by a previous header. I tried to get rid of the obvious examples and this was the easiest way to trim the #includes in one fell swoop. - We now return to regularly scheduled development. llvm-svn: 54632
-
- 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
-
- Dec 29, 2007
-
-
Chris Lattner authored
discussion of this change. llvm-svn: 45410
-
- Dec 19, 2007
-
-
Chris Lattner authored
llvm-svn: 45212
-
- Oct 09, 2007
-
-
Chris Lattner authored
llvm-svn: 42799
-
- Oct 07, 2007
-
-
Chris Lattner authored
llvm-svn: 42726
-
- Jul 23, 2007
-
-
Chris Lattner authored
no functionality changes. llvm-svn: 40414
-
- Jul 20, 2007
-
-
Chris Lattner authored
Since that point is now long gone, we should rename LexerToken to Token, as it is the only kind of token we have. llvm-svn: 40105
-
Chris Lattner authored
llvm-svn: 40104
-
Chris Lattner authored
fileid/offset pair, it now contains a bit discriminating between mapped locations and file locations. This separates the tables for macros and files in SourceManager, and allows better separation of concepts in the rest of the compiler. This allows us to have *many* macro instantiations before running out of 'addressing space'. This is also more efficient, because testing whether something is a macro expansion is now a bit test instead of a table lookup (which also used to require having a srcmgr around, now it doesn't). This is fully functional, but there are several refinements and optimizations left. llvm-svn: 40103
-
- Jun 16, 2007
-
-
Chris Lattner authored
out of the llvm namespace. This makes the clang namespace be a sibling of llvm instead of being a child. The good thing about this is that it makes many things unambiguous. The bad things is that many things in the llvm namespace (notably data structures like smallvector) now require an llvm:: qualifier. IMO, libsystem and libsupport should be split out of llvm into their own namespace in the future, which will fix this issue. llvm-svn: 39659
-
- Apr 10, 2007
-
-
Chris Lattner authored
like this: t3.c:5:10: error: 'vers2.h' file not found #include xstr(INCFILE(2).h) ^ instead of: t3.c:5:10: error: file not found #include xstr(INCFILE(2).h) ^ which is useful if the #include name is generated through macro expansion. llvm-svn: 39398
-
- Nov 21, 2006
-
-
Chris Lattner authored
of having a loose collection of function pointers. This also allows clients to maintain state, and reduces the size of the Preprocessor.h interface. llvm-svn: 39203
-
- Oct 30, 2006
-
-
Chris Lattner authored
filenames (and also '#pragma GCC dependency' of course). Now, assuming no cleaning is needed, we can go all the way from lexing the filename to doing filename lookups with no mallocs. This speeds up user PP time from 0.077 to 0.075s for Cocoa.h (2.6%). llvm-svn: 39092
-
Chris Lattner authored
This avoids some copying in its clients. llvm-svn: 39091
-
- Oct 22, 2006
-
-
Chris Lattner authored
llvm-svn: 39034
-
- Oct 18, 2006
-
-
Chris Lattner authored
it's own HeaderSearch object. This makes Preprocessor simpler and easier to understand. llvm-svn: 39012
-
- Oct 06, 2006
-
-
Chris Lattner authored
llvm-svn: 38960
-
- Jul 20, 2006
-
-
Chris Lattner authored
into when a hard error is found. This simplifies logic and eliminates the need for the preprocessor to know about raw mode. llvm-svn: 38746
-
- Jul 19, 2006
-
-
Chris Lattner authored
llvm-svn: 38732
-
Chris Lattner authored
llvm-svn: 38731
-
Chris Lattner authored
llvm-svn: 38730
-
- Jul 11, 2006
-
-
Chris Lattner authored
is an intra-lexer property, not a inter-lexer property, so it makes sense for it to be define here. It also makes no sense for macros, and allows us to define it more carefully in the header. While I'm at it, improve comments and structuring in Lexer.h llvm-svn: 38701
-
- Jul 08, 2006
-
-
Chris Lattner authored
llvm-svn: 38681
-
- Jul 05, 2006
-
-
Chris Lattner authored
llvm-svn: 38670
-
- Jul 04, 2006
-
-
Chris Lattner authored
llvm-svn: 38650
-
Chris Lattner authored
that are lexed are made up of tokens, so the calls are just ugly and redundant. Hook up the MIOpt for the #if case. PPCExpressions doesn't currently implement the hook though, so we still don't handle #if !defined(X) with the MIOpt. llvm-svn: 38649
-
Chris Lattner authored
llvm-svn: 38646
-
- Jul 03, 2006
-
-
Chris Lattner authored
_Pragma token llvm-svn: 38640
-