aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/PPDirectives.cpp
AgeCommit message (Expand)Author
2010-11-19Several PPCallbacks take an SourceLocation + IdentifierInfo, ratherCraig Silverstein
2010-11-12Make sure to always check the result ofDouglas Gregor
2010-11-06Add PPCallbacks for #if/#ifdef/etc.Craig Silverstein
2010-10-20Extend the preprocessing record and libclang with support forDouglas Gregor
2010-10-19Really^2 fix <rdar://problem/8361834>, this time without crashing.Ted Kremenek
2010-10-19Revert most of r116862. It isn't quite the right fix for a memory leak in Pr...Ted Kremenek
2010-10-19Really fix: <rdar://problem/8361834> MacroInfo::AddTokenToBody() leaks memoryTed Kremenek
2010-10-19Simplify lifetime management of MacroInfo objects in Preprocessor by having t...Ted Kremenek
2010-09-09When we parse a pragma, keep track of how that pragma was originallyDouglas Gregor
2010-08-24Implement preprocessor code completion where a macro name is expected,Douglas Gregor
2010-08-24Introduce basic code-completion support for preprocessor directives,Douglas Gregor
2010-08-22Detabify.Eli Friedman
2010-08-18no need to pass bumppointer allocator into macroinfo::destroyChris Lattner
2010-08-17Implement #pragma push_macro, patch by Francois Pichet!Chris Lattner
2010-08-12Don't emit end-of-file diagnostics like "unterminated conditional" orDouglas Gregor
2010-08-08Revert r110440, the fix for PR4897. Chris claims to have a better way.Douglas Gregor
2010-08-07Push location through the MacroUndefined PPCallback and use it to print #unde...Benjamin Kramer
2010-08-06Fix the #include search path when reading from stdin, from Jon Simons!Douglas Gregor
2010-04-20push some source location information down through the compiler,Chris Lattner
2010-04-19add a PPCallback handler for a skipped #include, patch byChris Lattner
2010-04-14Improve line marker directive locations, patch by Jordy RoseChris Lattner
2010-03-31Reinstate my CodeModificationHint -> FixItHint renaming patch, withoutDouglas Gregor
2010-03-31Revert r100008, which inexplicably breaks the clang-i686-darwin10 builderDouglas Gregor
2010-03-31Rename CodeModificationHint to FixItHint, since we've been using theDouglas Gregor
2010-03-16Audit all Preprocessor::getSpelling() callers, improving failureDouglas Gregor
2010-03-16Audit all callers of SourceManager::getCharacterData(); update some ofDouglas Gregor
2010-03-13Use SmallString instead of SmallVectorKovarththanan Rajaratnam
2010-02-27Add an overload of Preprocessor::getSpelling which takes a SmallVector andBenjamin Kramer
2010-02-12Fix PR6282: the include guard optimization cannot happen if theChris Lattner
2010-01-22revert my patch for rdar://7520940 that warns when a published headerChris Lattner
2010-01-18simplify the code for skipping in a #if 0 block. The CurLexerChris Lattner
2010-01-10stringref'ize a bunch of filename handling logic. MuchChris Lattner
2010-01-10clarify comment.Chris Lattner
2010-01-10implement rdar://7520940: published framework headers shouldChris Lattner
2009-12-31Convert to StringRef, avoid a memcpy in the common case.Benjamin Kramer
2009-12-14formatting changes.Chris Lattner
2009-12-06Change Preprocessor::EnterSourceFile to make ErrorStr non-optional, clients s...Daniel Dunbar
2009-12-01pass the reason for failure up from MemoryBuffer and report itChris Lattner
2009-11-30Fix PR5633 by making the preprocessor handle the case where we canChris Lattner
2009-10-30Re-arranged some internal functions for coming __has_include changes.John Thompson
2009-10-18Move clients to use IdentifierInfo::getNameStart() instead of getName()Daniel Dunbar
2009-09-09Remove tabs, and whitespace cleanups.Mike Stump
2009-07-13There is no need to value initialize this array.Daniel Dunbar
2009-05-25Fix a couple of bugs:Chris Lattner
2009-05-22In assembler-with-cpp mode, don't error on '#' (stringize) operator applied toDaniel Dunbar
2009-05-21Use v.data() instead of &v[0] when SmallVector v might be empty.Jay Foad
2009-04-21improve MacroInfo to track the source range of the macro definition,Chris Lattner
2009-04-21add a preprocessor callback function for #undef, patch byChris Lattner
2009-04-19Fix PR4006, incorrect handling of __VA_ARGS__ when it was the first tokenChris Lattner
2009-04-18more fun with line markers: the digit string is required to be interpretedChris Lattner