aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/Preprocessor.cpp
AgeCommit message (Expand)AuthorFilesLines
2025-08-18[clang] Allow trivial pp-directives before C++ module directive (#153641)yronglin1-3/+37
2025-07-19 [clang][deps] Properly capture the global module and '\n' for all module di...Naveen Seth Hanig1-0/+2
2025-06-26[clang] NFC: Add alias for std::pair<FileID, unsigned> used in SourceLocation...Haojian Wu1-1/+1
2025-06-26[clang][Preprocessor] Handle the first pp-token in EnterMainSourceFile (#145244)yronglin1-0/+15
2025-06-26[NFC][Clang][Preprocessor] Refine the implementation of isNextPPTokenOneOf (#...yronglin1-2/+2
2025-06-24[clang][Preprocessor] Add peekNextPPToken, makes look ahead next token withou...yronglin1-2/+2
2025-06-21[C++][Modules] A module directive may only appear as the first preprocessing ...yronglin1-0/+2
2025-05-19[clang] Use *Map::try_emplace (NFC) (#140477)Kazu Hirata1-1/+1
2025-05-16[Clang][Lex][NFC] Assert getExternalSource() in updateOutOfDateIdentifier (#1...Shafik Yaghmour1-0/+2
2025-05-02[C] Diagnose use of C++ keywords in C (#137234)Aaron Ballman1-0/+5
2025-04-17Reland [clang] Unify `SourceLocation` and `IdentifierInfo*` pair-like data st...yronglin1-8/+8
2025-04-16Revert "[clang] Unify `SourceLocation` and `IdentifierInfo*` pair-like data s...Michael Buch1-8/+8
2025-04-16[clang] Unify `SourceLocation` and `IdentifierInfo*` pair-like data structure...yronglin1-8/+8
2025-04-04[clang] Do not share ownership of `PreprocessorOptions` (#133467)Jan Svoboda1-14/+14
2025-03-28[clang] Make `PreprocessorOptions` reference constJan Svoboda1-1/+1
2025-02-21[clang][modules] Fix local submodule visibility of macros from transitive imp...Ben Langmuir1-2/+3
2024-11-16[Lex] Remove unused includes (NFC) (#116460)Kazu Hirata1-3/+0
2024-10-11[C++20][Modules] Allow import for a header unit after #pragma (#111662)Dmitry Polukhin1-0/+4
2024-07-29[Clang][Parse] Fix ambiguity with nested-name-specifiers that may declarative...Krystian Stasiowski1-1/+1
2024-07-22Revert "[Clang] Implement P3034R1 Module Declarations Shouldn’t be Macros" ...yronglin1-310/+134
2024-07-20[Clang] Implement P3034R1 Module Declarations Shouldn’t be Macros (#90574)yronglin1-134/+310
2024-07-18[clang] Fix typo in commentsCyndy Ishida1-1/+1
2024-06-13[Safe Buffers] Serialize unsafe_buffer_usage pragmas (#92031)Ziqing Luo1-19/+91
2024-04-11[NFC][Clang] Improve const correctness for IdentifierInfo (#79365)Bill Wendling1-1/+1
2024-01-27[clang][Diagnostics] Highlight code snippets (#66514)Timm Baeder1-0/+24
2024-01-22[CLANG] Add warning when INF or NAN are used in a binary operation or as func...Zahira Ammarguellat1-0/+5
2023-11-06[clang] Change representation of CurLexerKind (#70381)serge-sans-paille1-49/+14
2023-11-02[Modules] Fix ModuleDeclState transition when module is used as a regular ide...Fangrui Song1-18/+21
2023-10-07[clang][Lex][NFC] Make some local variables constTimm Bäder1-2/+2
2023-10-05[Lex] Handle repl_input_end in Preprocessor::LexTokensUntilEOF()Jonas Hahnfeld1-1/+2
2023-10-05[Lex] Introduce Preprocessor::LexTokensUntilEOF()Jonas Hahnfeld1-0/+11
2023-09-29[clang] NFCI: Use `FileEntryRef` in `SourceManager::overrideFileContents()`Jan Svoboda1-2/+1
2023-09-29[clang] NFCI: Use `FileEntryRef` in `ASTReader::GetHeaderFileInfo()`Jan Svoboda1-2/+2
2023-09-27[clang][NFC] Preprocessor only needs const LangOptions (#66874)Timm Baeder1-1/+1
2023-09-20Re-apply "[Parse] Split incremental-extensions" (#66446)Ben Barham1-0/+4
2023-09-13Revert "[Parse] Split incremental-extensions" (#66281)Ben Barham1-4/+0
2023-09-11[Parse] Split incremental-extensions (#65683)Ben Barham1-0/+4
2023-03-10Revert "Currently the control of the eval-method is mixed with fast-math."Zahira Ammarguellat1-5/+0
2023-02-16[Modules] Remove -fmodules-tsChuanqi Xu1-5/+5
2023-02-10[C++20] [Modules] [NFC] Add Preprocessor methods for named modules - for Clan...Chuanqi Xu1-5/+34
2023-02-08[Lex] Fix -Wunused-variable for LLVM_ENABLE_ASSERTIONS=off builds after D140179Fangrui Song1-1/+1
2023-02-08[-Wunsafe-buffer-usage] Add unsafe buffer checking opt-out pragmasZiqing Luo1-0/+69
2023-02-07Revert "[-Wunsafe-buffer-usage] Add unsafe buffer checking opt-out pragmas"Ziqing Luo1-69/+0
2023-02-07[-Wunsafe-buffer-usage] Add unsafe buffer checking opt-out pragmasZiqing Luo1-0/+69
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-1/+1
2022-12-18Revert "[clang] Convert OptionalFileEntryRefDegradesToFileEntryPtr to std::op...Krzysztof Parzyszek1-2/+1
2022-12-17[clang] Convert OptionalFileEntryRefDegradesToFileEntryPtr to std::optionalKrzysztof Parzyszek1-1/+2
2022-10-27[NFC] [Modules] Rename modules related things in Preprocessor and AffectingMo...Chuanqi Xu1-25/+25