aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/PPDirectives.cpp
AgeCommit message (Expand)Author
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
2009-02-04Fix PR3464 by searching for headers from the predefinesChris Lattner
2009-02-04Implement handling of file entry/exit notifications from GNUChris Lattner
2009-02-04propagate linemarker flags down into the the line table, currentlyChris Lattner
2009-02-03stub out basic #line handling calls.Chris Lattner
2009-01-29move library-specific diagnostic headers into library private dirs. ReduceChris Lattner
2009-01-27Split the single monolithic DiagnosticKinds.def file into oneChris Lattner
2009-01-27Fix a bug that I noticed by inspection.Chris Lattner
2009-01-26remove my hacks that aggressively threw away multiple Chris Lattner
2009-01-26start plumbing together the line table information. So far we justChris Lattner
2009-01-26add parsing and constraint enforcement for GNU line marker directives.Chris Lattner
2009-01-26a few minor cleanupsChris Lattner
2009-01-26parse and enforce required constraints on #line directives. Right nowChris Lattner
2009-01-26Eagerly resolve the spelling location of the tokens in a definitionChris Lattner
2009-01-19do not use SourceManager::getFileCharacteristic(FileID), it is notChris Lattner
2009-01-17this massive patch introduces a simple new abstraction: it makesChris Lattner
2009-01-16As a performance optimization, don't bother calling MacroInfo::isIdenticalTo Chris Lattner
2008-12-23PTH:Ted Kremenek
2008-12-15Preprocessor: Allocate MacroInfo objects using a BumpPtrAllocator instead usi...Ted Kremenek