aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/Preprocessor.cpp
AgeCommit message (Expand)Author
2008-12-01Add LangOptions marker for assembler-with-cpp mode and use to defineDaniel Dunbar
2008-11-22Move the Preprocessor::Diag methods inline. This has the interestingChris Lattner
2008-11-22inline a method into its only two call sites.Chris Lattner
2008-11-22Split the DiagnosticInfo class into two disjoint classes:Chris Lattner
2008-11-19Move more cases of using 'CurLexer' to 'CurPPLexer'.Ted Kremenek
2008-11-19Remove Preprocessor::CacheTokens boolean data member. The same functionality ...Argyrios Kyrtzidis
2008-11-19Initialize CurPPLexer in Preprocessor's constructor.Ted Kremenek
2008-11-18Remove the last of the old-style Preprocessor::Diag methods.Chris Lattner
2008-11-18Convert the lexer and start converting the PP over to using canonical Diag me...Chris Lattner
2008-11-18This reworks some of the Diagnostic interfaces a bit to change how diagnosticsChris Lattner
2008-11-18Change the diagnostics interface to take an array of pointers to Chris Lattner
2008-11-13Using llvm::OwningPtr<> for CurLexer and CurTokenLexer. This makes both the ...Ted Kremenek
2008-10-31Fixed build warning. No functionality change.Sanjiv Gupta
2008-10-31Made the mechanism of defining preprocessor defs for maxint, ptrdiff_t, wcharSanjiv Gupta
2008-10-06__CONSTANT_CFSTRINGS__ should be defined even in C mode, otherwise the CFSTRChris Lattner
2008-10-05move __FLT_EVAL_METHOD__, __FLT_RADIX__, and __DECIMAL_DIG__ intoChris Lattner
2008-10-05suck the rest of the FP macros out of the targets into the PPChris Lattner
2008-10-05start moving fp macros overChris Lattner
2008-10-05move a bunch more integer sizing out of target-specific code intoChris Lattner
2008-10-05eliminate __USER_LABEL_PREFIX__ from the Targets.cpp file, start movingChris Lattner
2008-10-05gcc no longer defines __block to nothing when blocks aren't enabled.Chris Lattner
2008-10-05rearrange preprocessor macro definitions into language-specificChris Lattner
2008-10-05Implement PR2773, support for __USER_LABEL_PREFIX__Chris Lattner
2008-09-30define __PASCAL_STRINGS__ whenever -fpascal-strings is enabled.Chris Lattner
2008-09-30__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ is a darwin-specific #defineChris Lattner
2008-09-26Fix the rest of rdar://6243860 hopefully. This requires changing FileIDInfoChris Lattner
2008-09-26Update clang to pretend to be gcc-4.2.Daniel Dunbar
2008-09-23Fix <rdar://problem/6240065> clang: __BLOCKS__ should be defined.Steve Naroff
2008-09-02- Implement __block.Steve Naroff
2008-09-02Pull code from last commit. will put back soon.Steve Naroff
2008-09-02Implement block pseudo-storage class modifiers (__block, __byref).Steve Naroff
2008-08-23Add a safety check.Argyrios Kyrtzidis
2008-08-12Move some ObjC preprocessor definitions intoDaniel Dunbar
2008-08-11remove obsolete comment.Chris Lattner
2008-08-10* Remove isInSystemHeader() from DiagClient, move it to SourceManagerNico Weber
2008-08-10Allow the preprocessor to cache the lexed tokens, so that we can do efficient...Argyrios Kyrtzidis
2008-07-19Patch byTed Kremenek
2008-07-05move the linux predefined macro definition to the TargetInfo, where it really...Nuno Lopes
2008-07-05predefine the macro linux when compiled on a linux system. this fixes the bui...Nuno Lopes
2008-06-26clang uses the llvm backend, so define __llvm__ like llvm-gcc. Chris Lattner
2008-05-15Fix rewriter bug <rdar://problem/5929344> clang ObjC rewriter: "extern int __...Steve Naroff
2008-05-09DO NOT pre-defined __OBJC2__. The __OBJC2__ macro should only be defined when...Steve Naroff
2008-05-05Neil pointed out that clang doesn't generate ranges from diagnosticsChris Lattner
2008-04-19simplify ownership of the predefines buffer.Chris Lattner
2008-04-17class Preprocessor: Now owns the "predefines" char*; it deletes [] it in its ...Ted Kremenek
2008-04-17Added "PreprocessorFactory", an interface for lazily creating Preprocessor ob...Ted Kremenek
2008-03-18move #include to the file that needs it.Chris Lattner
2008-03-15Make a major restructuring of the clang tree: introduce a top-levelChris Lattner