aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/PPDirectives.cpp
AgeCommit message (Expand)Author
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
2009-04-18second half of PR3940: #line requires simple digit sequence.Chris Lattner
2009-04-18enforce requirements imposed by C90 6.8 TC1, fixing PR3919.Chris Lattner
2009-04-18Fix PR3938 by taking into account C99 6.10p4.Chris Lattner
2009-04-17Fix two problems from PR3916, and one problem I noticed while hackingChris Lattner
2009-04-17implement PR3940: #line numbers not fully checkedChris Lattner
2009-04-17#line is allowed to have macros that expand to nothing after them.Chris Lattner
2009-04-14Offer a fixit hint for our warning about tokens at the end of a directive:Chris Lattner
2009-04-14Fix the #import / #include_next "extra tokens at end of #foo directive" Chris Lattner
2009-04-13Fix assertion failure in PTH when tokens followed a closing #endif.Daniel Dunbar
2009-04-12add a ppcallback hook for macro definitions.Chris Lattner
2009-04-08finish the implementation of -imacros. The driver still needs to be hooked up.Chris Lattner
2009-04-08reject the #__include_macros directive unless it comes from the Chris Lattner
2009-04-08Add initial support for -imacros. Right now it has the same semantics asChris Lattner
2009-03-27push line markers through -E mode.Chris Lattner
2009-03-18when preprocessing a .S file, unknown directives should just be passed through,Chris Lattner
2009-03-18This is not considered a preprocessor directive in .S files:Chris Lattner
2009-03-13use accessor instead of poking ivar directlyChris Lattner
2009-03-06#import is not considered an extension for ObjC.Chris Lattner
2009-02-20switch the macroinfo argument lists from being allocated off the heapChris Lattner
2009-02-20detemplatify setArgumentList and some other cleanups.Chris Lattner
2009-02-20require the MAcroInfo objects are explcitly destroyed.Chris Lattner