aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/Preprocessor.cpp
AgeCommit message (Expand)AuthorFilesLines
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
2022-10-26[Lex] Stop allocating/deallocating MacroInfo on a linked list. NFCSam McCall1-6/+0
2022-09-22[clang][deps] Report module map describing compiled moduleJan Svoboda1-0/+7
2022-09-18[clang] Don't include StringSwitch.h (NFC)Kazu Hirata1-1/+0
2022-08-26Diagnosing the Future KeywordsMuhammad Usman Shahid1-24/+1
2022-08-08[clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFCFangrui Song1-2/+2
2022-07-10[C++20][Modules] Implement include translation.Iain Sandoe1-0/+14
2022-06-29[Clang][Preprocessor] Fix inconsistent `FLT_EVAL_METHOD` when compiling vs pr...Egor Zhdan1-0/+12
2022-06-29[Clang] Rename StringLiteral::isAscii() => isOrdinary() [NFC]Corentin Jabot1-1/+1
2022-05-26[Tooling/DependencyScanning & Preprocessor] Refactor dependency scanning to p...Argyrios Kyrtzidis1-6/+9
2022-04-13[clang][preprocessor] Allow calling DumpToken() on annotation tokensTimm Bäder1-2/+4
2022-02-23Add support for floating-point option `ffp-eval-method` and forZahira Ammarguellat1-0/+3
2022-01-26[clang][lex] Include tracking: simplify and move to preprocessorJan Svoboda1-1/+1
2022-01-18[clang][lex] NFC: Simplify calls to `LookupFile`Jan Svoboda1-3/+2
2021-10-13[clang] Use llvm::is_contained (NFC)Kazu Hirata1-1/+1
2021-10-12[clang][modules] Default `SourceLocation` parameter in `HeaderSearch::lookupM...Jan Svoboda1-2/+1
2021-10-12[clang][modules] NFC: Propagate import `SourceLocation` into `HeaderSearch::l...Jan Svoboda1-1/+2
2021-09-27Implement #pragma clang final extensionChris Bieneman1-9/+30
2021-08-25Effectively revert 33c3d8a916c / D33782Reid Kleckner1-5/+1
2021-08-23Implement #pragma clang restrict_expansionChris Bieneman1-10/+19
2021-07-29Support macro deprecation #pragma clang deprecatedChris Bieneman1-0/+12
2021-07-25[Preprocessor] Implement -fminimize-whitespace.Michael Kruse1-0/+6
2021-05-27Add support for #elifdef and #elifndefAaron Ballman1-1/+1
2021-03-16[CodeCompletion] Avoid spurious signature help for init-list argsSam McCall1-2/+2
2021-01-27Don't allow __VA_OPT__ to be detected by #ifdef.Richard Smith1-8/+7
2021-01-27Permit __VA_OPT__ in all language modes and allow it to be detected with #ifdef.Richard Smith1-11/+8