summaryrefslogtreecommitdiff
path: root/clang/lib/Lex/MacroArgs.cpp
AgeCommit message (Expand)Author
2025-05-13[NFC][Clang] Adopt `TrailingObjects` convenience API in MacroArgs (#139635)Rahul Joshi
2024-11-16[Lex] Remove unused includes (NFC) (#116460)Kazu Hirata
2022-12-02Use CTAD on llvm::SaveAndRestoreJan Svoboda
2022-11-07[clang][NFC] Use c++17 style variable type traitsNathan James
2019-07-30Remove cache for macro arg stringizationReid Kleckner
2019-05-17[Lex] Allow to consume tokens while preprocessingIlya Biryukov
2019-05-04[c++20] Implement tweaked __VA_OPT__ rules from P1042R1:Richard Smith
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth
2018-07-30Remove trailing spaceFangrui Song
2018-04-06Fix typos in clangAlexander Kornienko
2018-02-21Clean up use of C allocation functionsSerge Pavlov
2017-10-15[c++2a] Implement P0306 __VA_OPT__ (Comma omission and comma deletion)Faisal Vali
2017-09-30[NFC] Add assertion that we assume a valid macro argument index.Faisal Vali
2017-09-30[NFC] Remove superfluous parameter Faisal Vali
2017-09-28Use std::is_trivial instead of is_trivially_copyable.Benjamin Kramer
2017-09-28[NFC] Don't use C++17 standard lib variable template helper traits, instead u...Faisal Vali
2017-09-28[NFC] Modernize MacroArgs using TrailingObjectsFaisal Vali
2017-07-17[NFC] Refactor the Preprocessor function that handles Macro definitions and r...Faisal Vali
2017-07-17Revert changes from my previous refactoring - will need to fix dependencies i...Faisal Vali
2017-07-17[NFC] Refactor the Preprocessor function that handles Macro definitions and r...Faisal Vali
2017-06-14[Preprocessor]Correct Macro-Arg allocation of StringifiedArguments, Erich Keane
2015-04-29[modules] Stop trying to fake up a linear MacroDirective history.Richard Smith
2014-11-08[c++1z] Support for u8 character literals.Richard Smith
2014-10-25Lex: Fix an invalid access into a SmallStringDavid Majnemer
2014-05-17[C++11] Use 'nullptr'. Lex edition.Craig Topper
2014-05-09Fix filename in file header comment more.Nico Weber
2014-05-09Fix filename in file header comment.Nico Weber
2013-05-03[Preprocessor] For the MacroExpands preprocessor callback, also pass the Macr...Argyrios Kyrtzidis
2013-03-09Handle _Pragma on a u8, u, or U string literal per the C11 specification. AlsoRichard Smith
2013-01-12Remove useless 'llvm::' qualifier from names like StringRef and others that areDmitri Gribenko
2012-12-04Sort all of Clang's files under 'lib', and fix up the broken headersChandler Carruth
2012-09-24StringRef'ize Preprocessor::CreateString().Dmitri Gribenko
2012-04-03Correct handling of _Pragma macro inside a macro argument.Argyrios Kyrtzidis
2012-02-05Basic: import SmallString<> into clang namespaceDylan Noblesmith
2012-02-04Move a method from IdentifierTable.h out of line and remove the SmallString i...Benjamin Kramer
2011-10-03Fixed exapnsion range for # and ##.Abramo Bagnara
2011-09-22ArrayRef-ifying MacroArgs::create's arguments argument.David Blaikie
2011-09-04Handle a code-completion token being passed to the macro stringify operator.Argyrios Kyrtzidis
2011-07-27Add support for C++0x unicode string and character literals, from Craig Topper!Douglas Gregor
2011-07-07Make the Preprocessor more memory efficient and improve macro instantiation d...Argyrios Kyrtzidis
2011-04-28Silence more -Wnon-pod-memset given its current implementation. I may beChandler Carruth
2010-03-16Audit all Preprocessor::getSpelling() callers, improving failureDouglas Gregor
2009-12-28use best-fit instead of first-fit when reusing a MacroArgs object,Chris Lattner
2009-12-28The PreExpArgTokens array is indexed with an argument #,Chris Lattner
2009-12-23fix the microsoft "charify" extension to return the charified token Chris Lattner
2009-12-15enable reuse of MacroArgs objects. This is a small (2.5%) win Chris Lattner
2009-12-15set up the machinery for a MacroArgs cache hanging off Preprocessor.Chris Lattner
2009-12-14move the VarargsElided member of MacrosArgs to shrink the MacroArgs structChris Lattner
2009-09-09Remove tabs, and whitespace cleanups.Mike Stump
2009-05-13When we expect two arguments but have zero, make sure to addChris Lattner