aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/MacroArgs.cpp
AgeCommit message (Expand)AuthorFilesLines
2019-07-30Remove cache for macro arg stringizationReid Kleckner1-20/+0
2019-05-17[Lex] Allow to consume tokens while preprocessingIlya Biryukov1-1/+1
2019-05-04[c++20] Implement tweaked __VA_OPT__ rules from P1042R1:Richard Smith1-6/+3
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-07-30Remove trailing spaceFangrui Song1-7/+7
2018-04-06Fix typos in clangAlexander Kornienko1-1/+1
2018-02-21Clean up use of C allocation functionsSerge Pavlov1-1/+2
2017-10-15[c++2a] Implement P0306 __VA_OPT__ (Comma omission and comma deletion)Faisal Vali1-0/+10
2017-09-30[NFC] Add assertion that we assume a valid macro argument index.Faisal Vali1-0/+3
2017-09-30[NFC] Remove superfluous parameter Faisal Vali1-6/+5
2017-09-28Use std::is_trivial instead of is_trivially_copyable.Benjamin Kramer1-2/+2
2017-09-28[NFC] Don't use C++17 standard lib variable template helper traits, instead u...Faisal Vali1-2/+2
2017-09-28[NFC] Modernize MacroArgs using TrailingObjectsFaisal Vali1-10/+15
2017-07-17[NFC] Refactor the Preprocessor function that handles Macro definitions and r...Faisal Vali1-5/+5
2017-07-17Revert changes from my previous refactoring - will need to fix dependencies i...Faisal Vali1-5/+5
2017-07-17[NFC] Refactor the Preprocessor function that handles Macro definitions and r...Faisal Vali1-5/+5
2017-06-14[Preprocessor]Correct Macro-Arg allocation of StringifiedArguments, Erich Keane1-10/+10
2015-04-29[modules] Stop trying to fake up a linear MacroDirective history.Richard Smith1-4/+3
2014-11-08[c++1z] Support for u8 character literals.Richard Smith1-0/+1
2014-10-25Lex: Fix an invalid access into a SmallStringDavid Majnemer1-2/+2
2014-05-17[C++11] Use 'nullptr'. Lex edition.Craig Topper1-2/+2
2014-05-09Fix filename in file header comment more.Nico Weber1-1/+1
2014-05-09Fix filename in file header comment.Nico Weber1-1/+1
2013-05-03[Preprocessor] For the MacroExpands preprocessor callback, also pass the Macr...Argyrios Kyrtzidis1-1/+1
2013-03-09Handle _Pragma on a u8, u, or U string literal per the C11 specification. AlsoRichard Smith1-9/+5
2013-01-12Remove useless 'llvm::' qualifier from names like StringRef and others that areDmitri Gribenko1-1/+1
2012-12-04Sort all of Clang's files under 'lib', and fix up the broken headersChandler Carruth1-1/+1
2012-09-24StringRef'ize Preprocessor::CreateString().Dmitri Gribenko1-1/+1
2012-04-03Correct handling of _Pragma macro inside a macro argument.Argyrios Kyrtzidis1-0/+5
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
2011-10-03Fixed exapnsion range for # and ##.Abramo Bagnara1-4/+9
2011-09-22ArrayRef-ifying MacroArgs::create's arguments argument.David Blaikie1-11/+14
2011-09-04Handle a code-completion token being passed to the macro stringify operator.Argyrios Kyrtzidis1-0/+2
2011-07-27Add support for C++0x unicode string and character literals, from Craig Topper!Douglas Gregor1-1/+7
2011-07-07Make the Preprocessor more memory efficient and improve macro instantiation d...Argyrios Kyrtzidis1-4/+7
2011-04-28Silence more -Wnon-pod-memset given its current implementation. I may beChandler Carruth1-1/+1
2010-03-16Audit all Preprocessor::getSpelling() callers, improving failureDouglas Gregor1-12/+19
2009-12-28use best-fit instead of first-fit when reusing a MacroArgs object,Chris Lattner1-7/+16
2009-12-28The PreExpArgTokens array is indexed with an argument #,Chris Lattner1-5/+6
2009-12-23fix the microsoft "charify" extension to return the charified token Chris Lattner1-1/+1
2009-12-15enable reuse of MacroArgs objects. This is a small (2.5%) win Chris Lattner1-10/+32
2009-12-15set up the machinery for a MacroArgs cache hanging off Preprocessor.Chris Lattner1-0/+13
2009-12-14move the VarargsElided member of MacrosArgs to shrink the MacroArgs structChris Lattner1-2/+3
2009-09-09Remove tabs, and whitespace cleanups.Mike Stump1-17/+17
2009-05-13When we expect two arguments but have zero, make sure to addChris Lattner1-0/+1
2009-01-29move library-specific diagnostic headers into library private dirs. ReduceChris Lattner1-1/+1
2009-01-27Split the single monolithic DiagnosticKinds.def file into oneChris Lattner1-1/+1
2009-01-26remove my hacks that aggressively threw away multiple Chris Lattner1-6/+0
2009-01-26This change refactors some of the low-level lexer interfaces a bit.Chris Lattner1-2/+1