aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/PreprocessingRecord.cpp
AgeCommit message (Expand)AuthorFilesLines
2024-11-16[Lex] Remove unused includes (NFC) (#116460)Kazu Hirata1-3/+0
2024-02-08[clang][lex] Always pass suggested module to `InclusionDirective()` callback ...Jan Svoboda1-6/+5
2023-06-13[clang] Use DenseMapBase::lookup (NFC)Kazu Hirata1-6/+1
2023-01-14[clang] Remove remaining uses of llvm::Optional (NFC)Kazu Hirata1-1/+0
2023-01-14[clang] Use std::optional instead of llvm::Optional (NFC)Kazu Hirata1-1/+1
2023-01-14[clang] Add #include <optional> (NFC)Kazu Hirata1-0/+1
2022-12-20[Clang] Prepare for llvm::Optional becoming std::optional.Benjamin Kramer1-10/+4
2022-12-18Revert "[clang] Convert OptionalFileEntryRefDegradesToFileEntryPtr to std::op...Krzysztof Parzyszek1-6/+10
2022-12-17[clang] Convert OptionalFileEntryRefDegradesToFileEntryPtr to std::optionalKrzysztof Parzyszek1-10/+6
2022-12-17llvm::Optional::value => operator*/operator->Fangrui Song1-4/+3
2022-07-13[clang] Use value instead of getValue (NFC)Kazu Hirata1-1/+1
2022-06-25[clang] Don't use Optional::hasValue (NFC)Kazu Hirata1-1/+1
2022-06-25Revert "Don't use Optional::hasValue (NFC)"Kazu Hirata1-2/+2
2022-06-25Don't use Optional::hasValue (NFC)Kazu Hirata1-2/+2
2022-04-14[clang][lex] NFCI: Use FileEntryRef in PPCallbacks::InclusionDirective()Jan Svoboda1-2/+3
2021-05-27Add support for #elifdef and #elifndefAaron Ballman1-0/+17
2019-07-03Change std::{lower,upper}_bound to llvm::{lower,upper}_bound or llvm::partiti...Fangrui Song1-11/+7
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-07-30Remove trailing spaceFangrui Song1-23/+23
2018-05-10Reland '[clang] Adding CharacteristicKind to PPCallbacks::InclusionDirective'Julie Hockett1-1/+2
2018-05-09Revert "[clang] Adding CharacteristicKind to PPCallbacks::InclusionDirective"Julie Hockett1-2/+1
2018-05-09[clang] Adding CharacteristicKind to PPCallbacks::InclusionDirectiveJulie Hockett1-1/+2
2018-05-09Remove \brief commands from doxygen comments.Adrian Prantl1-5/+5
2018-01-15[PCH] Serialize skipped preprocessor rangesCameron Desrochers1-1/+20
2017-12-08[Lex] Fix some Clang-tidy modernize and Include What You Use warnings; other ...Eugene Zelenko1-14/+30
2017-09-11[Lexer] Report more precise skipped regions (PR34166)Vedant Kumar1-2/+3
2017-04-26Revert "Revert "PPCallbacks::MacroUndefined, change signature and add test.""Vedant Kumar1-1/+2
2017-04-26Revert "PPCallbacks::MacroUndefined, change signature and add test."Vedant Kumar1-2/+1
2017-04-26PPCallbacks::MacroUndefined, change signature and add test.Frederich Munch1-1/+2
2016-10-20Retire llvm::alignOf in favor of C++11 alignof.Benjamin Kramer1-10/+5
2015-10-20Roll-back r250822.Angel Garcia Gomez1-1/+1
2015-10-20Apply modernize-use-default to clang.Angel Garcia Gomez1-1/+1
2015-10-03Replace double negation of !FileID.isInvalid() with FileID.isValid().Yaron Keren1-1/+1
2015-06-22Revert r240270 ("Fixed/added namespace ending comments using clang-tidy").Alexander Kornienko1-1/+1
2015-06-22Fixed/added namespace ending comments using clang-tidy. NFCAlexander Kornienko1-1/+1
2015-05-04Switch PPCallbacks to take the new MacroDefinition instead of MacroDirective*...Richard Smith1-12/+11
2015-05-04Rename MacroDefinition -> MacroDefinitionRecord, Preprocessor::MacroDefinitio...Richard Smith1-14/+15
2015-03-15Implement PreprocessingRecord's and LazyVector's iterators on top of iterator...Benjamin Kramer1-1/+1
2015-03-09Simplify boolean expressions in clang with clang-tidyDavid Blaikie1-5/+2
2015-02-06Update APIs that return a pair of iterators to return an iterator_range instead.Benjamin Kramer1-6/+7
2014-05-17[C++11] Use 'nullptr'. Lex edition.Craig Topper1-3/+3
2013-12-05[libclang] Record ranges skipped by the preprocessor and expose them with lib...Argyrios Kyrtzidis1-0/+4
2013-07-19Add SourceRange to PPCallbacks::Defined callback.John Thompson1-1/+2
2013-05-03[Preprocessor] For the MacroExpands preprocessor callback, also pass the Macr...Argyrios Kyrtzidis1-1/+2
2013-03-26[Preprocessor/Modules] Separate the macro directives kinds into their own Mac...Argyrios Kyrtzidis1-6/+9
2013-02-24[preprocessor] Use MacroDirective in the preprocessor callbacks to make avail...Argyrios Kyrtzidis1-15/+16
2013-02-22[preprocessing record] Have the MacroDefinitions map point to the MacroDefini...Argyrios Kyrtzidis1-9/+7
2013-02-20Include llvm::Optional in clang/Basic/LLVM.hDavid Blaikie1-2/+2
2013-02-12[preprocessing record] Add some sanity checks for the preprocessed entity indexArgyrios Kyrtzidis1-4/+8
2013-01-16[preprocessor] Call the MacroUndefined callback even when the macro was not d...Argyrios Kyrtzidis1-1/+3