aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/Preprocessor.cpp
AgeCommit message (Expand)AuthorFilesLines
2012-11-17Made the "expected string literal" diagnostic more expressiveAndy Gibbs1-2/+5
2012-11-17Refactored duplicate string literal lexing code within Preprocessor, into aAndy Gibbs1-0/+39
2012-10-24Teach the preprocessor to hold onto the preprocessor options.Douglas Gregor1-2/+5
2012-10-09Rework the (de-)serialization of macros, as stored inDouglas Gregor1-2/+4
2012-09-29Move the 'find macro by spelling' infrastructure to the Preprocessor class andDmitri Gribenko1-0/+33
2012-09-29For PPCallbacks::InclusionDirective() add a parameter for the module, wheneverArgyrios Kyrtzidis1-4/+8
2012-09-24StringRef'ize Preprocessor::CreateString().Dmitri Gribenko1-4/+4
2012-08-13Added some preprocessor memory usage stats to -cc1 -print-statsAlexander Kornienko1-0/+14
2012-06-29Patch for handling C99 veriadic macros when using precompiled headers,Douglas Gregor1-0/+10
2012-06-20Structured comment parsing, first step.Dmitri Gribenko1-2/+2
2012-06-19Revert predefined decl tracking.Meador Inge1-1/+1
2012-06-08Disable _Pragma during HTML macro rewriting to keep from crashing.Jordan Rose1-1/+2
2012-06-06Add a -rewrite-includes option, which is similar to -rewrite-macros, but only...David Blaikie1-0/+1
2012-06-06Add pedantic warning -Wempty-translation-unit (C11 6.9p1).Jordan Rose1-1/+1
2012-06-02Initialize the non-target-dependent fields of the Preprocessor in its constru...Argyrios Kyrtzidis1-48/+47
2012-04-03Correct handling of _Pragma macro inside a macro argument.Argyrios Kyrtzidis1-0/+1
2012-03-16From Vassil Vassilev:Axel Naumann1-4/+5
2012-03-11Unify naming of LangOptions variable/get function across the Clang stack (Lex...David Blaikie1-5/+5
2012-03-05[preprocessor] Enhance PreprocessingRecord to keep track of locations of cond...Argyrios Kyrtzidis1-2/+3
2012-03-01Change @import to @__experimental_modules_import. We are not ready to commit...Ted Kremenek1-6/+6
2012-02-25Don't record nested macro expansions in the preprocessing record,Argyrios Kyrtzidis1-4/+2
2012-02-07Revert my patches which removed Diagnostic.h includes by moving some operator...Benjamin Kramer1-15/+0
2012-02-05Basic: import SmallString<> into clang namespaceDylan Noblesmith1-1/+1
2012-02-04Move a method from IdentifierTable.h out of line and remove the SmallString i...Benjamin Kramer1-1/+1
2012-02-04Remove Diagnostic.h include from Preprocessor.h.Benjamin Kramer1-0/+15
2012-01-30Thread a TargetInfo through to the module map; we'll need it forDouglas Gregor1-1/+3
2012-01-29Rework HeaderSearch's interface for getting a module from a name andDouglas Gregor1-1/+1
2012-01-05When loading an AST file, set SourceManager::MainFileID to the main file of t...Argyrios Kyrtzidis1-12/+16
2012-01-04Don't treat 'import' as a contextual keyword when we're in a caching lexer, o...Douglas Gregor1-9/+18
2012-01-03Eliminate the uglified keyword __import_module__ for importingDouglas Gregor1-12/+6
2012-01-03Introduce a non-uglified syntax for module imports in Objective-C:Douglas Gregor1-5/+11
2012-01-03Add a "Modules" language option, which subsumes the previousDouglas Gregor1-1/+0
2012-01-01Added -Wdisabled-macro-expansion warning.Abramo Bagnara1-2/+5
2011-12-02When we treat an #include or #import as a module import, create anDouglas Gregor1-1/+2
2011-12-02Implementing parsing and resolution of module export declarationsDouglas Gregor1-1/+6
2011-12-01Introduce the notion of name visibility into modules. For a givenDouglas Gregor1-1/+2
2011-11-30Teach the preprocessor how to handle module import declarations thatDouglas Gregor1-9/+23
2011-11-30Switch the module-loading interfaces and parser from a simpleDouglas Gregor1-3/+5
2011-11-23Remove an assertion that is not valid if we cancel parsing.Argyrios Kyrtzidis1-3/+0
2011-10-27Make the loading of information attached to an IdentifierInfo from anDouglas Gregor1-0/+7
2011-10-11Add a -Wc++0x-compat warning for C++11 keywords used as identifiers when inRichard Smith1-0/+11
2011-10-03Fixed exapnsion range for # and ##.Abramo Bagnara1-3/+5
2011-09-26Properly initialize Preprocessor::CurLexerKind to avoid use of uninitialized ...Zhongxing Xu1-2/+2
2011-09-25Rename Diagnostic to DiagnosticsEngine as per issue 5397David Blaikie1-1/+1
2011-09-19Introduce PreprocessingRecord::getPreprocessedEntitiesInRange()Argyrios Kyrtzidis1-1/+2
2011-09-15Add an experimental flag -fauto-module-import that automatically turnsDouglas Gregor1-0/+1
2011-09-07Optimize the preprocessor's handling of the __import_module__Douglas Gregor1-15/+30
2011-09-04Use const_cast to avoid warnings.Benjamin Kramer1-1/+1
2011-09-04Support code-completion for C++ inline methods and ObjC buffering methods.Argyrios Kyrtzidis1-26/+25
2011-09-01Allow the preprocessor to be constructed without performing target-Douglas Gregor1-53/+69