summaryrefslogtreecommitdiff
path: root/clang/lib/Lex/Lexer.cpp
AgeCommit message (Expand)Author
2025-08-18[clang] Allow trivial pp-directives before C++ module directive (#153641)yronglin
2025-07-09Address a handful of C4146 compiler warnings where literals can be replaced w...Alex Sepkowski
2025-07-07[clang][deps] Stop lexing if hit a failure while loading a PCH/module in a su...Volodymyr Sapsai
2025-07-07NFC, use structured binding to simplify the code.Haojian Wu
2025-06-28[clang] Remove unused includes (NFC) (#146254)Kazu Hirata
2025-06-26[clang] NFC: Add alias for std::pair<FileID, unsigned> used in SourceLocation...Haojian Wu
2025-06-26[clang][Preprocessor] Handle the first pp-token in EnterMainSourceFile (#145244)yronglin
2025-06-24[clang][Preprocessor] Add peekNextPPToken, makes look ahead next token withou...yronglin
2025-06-21[C++][Modules] A module directive may only appear as the first preprocessing ...yronglin
2025-04-04[clang][deps] Respect `Lexer::cutOffLexing()` (#134404)Jan Svoboda
2025-03-19Suppress pedantic diagnostic for a file not ending in EOL (#131794)Aaron Ballman
2025-03-18[C2y] Add octal prefixes, deprecate unprefixed octals (#131626)Aaron Ballman
2025-03-07[C2y] Implement WG14 N3411 (#130180)Aaron Ballman
2025-01-22[clang-reorder-fields] Reorder leading comments (#123740)Clement Courbet
2025-01-16[clang][refactor] Refactor `findNextTokenIncludingComments` (#123060)Clement Courbet
2024-12-05Skip escaped newlines before checking for whitespace in Lexer::getRawToken. (...Samira Bazuzi
2024-11-16[Lex] Remove unused includes (NFC) (#116460)Kazu Hirata
2024-09-16Remove ^^ as a token in OpenCL (#108224)Aaron Ballman
2024-09-05[Clang] Warn with -Wpre-c23-compat instead of -Wpre-c++17-compat for u8 chara...Mital Ashok
2024-07-10[Clang] Allow raw string literals in C as an extension (#88265)Sirraide
2024-06-13Fix off-by-one issue found by post-commit reviewAaron Ballman
2024-05-28[Clang] allow `` `@$ `` in raw string delimiters in C++26 (#93216)cor3ntin
2024-02-15bad error message on incorrect string literal #18079 (#81670)akshaykumars614
2024-01-31[clang][NFC] Move isSimpleTypeSpecifier() from Sema to Token (#80101)Owen Pan
2023-12-13[clang] Use StringRef::{starts,ends}_with (NFC) (#75149)Kazu Hirata
2023-11-29[HLSL] Support vector swizzles on scalars (#67700)Chris B
2023-10-31[clang] Change GetCharAndSizeSlow interface to by-value styleserge-sans-paille
2023-10-29Revert "Perf/lexer faster slow get char and size (#70543)"Nico Weber
2023-10-29Perf/lexer faster slow get char and size (#70543)serge-sans-paille
2023-10-19[clang] Provide an SSE4.2 implementation of identifier token lexer (#68962)serge-sans-paille
2023-10-07[clang][Lex][NFC] Make some local variables constTimm Bäder
2023-09-06[Clang] Handle non-ASCII after line splicingCorentin Jabot
2023-09-04[clang][NFC] Remove stray slashTimm Bäder
2023-08-22Revert "[Clang] CWG1473: do not err on the lack of space after operator"""Reid Kleckner
2023-08-22[Lex] Preambles should contain the global module fragment.Sam McCall
2023-08-17[Clang] CWG1473: do not err on the lack of space after operator""Po-yao Chang
2023-08-11[C23] Rename C2x->C23 in diagnosticsAaron Ballman
2023-08-11[C23] Rename C2x -> C23; NFCAaron Ballman
2023-07-22[clang] Enable C++11-style attributes in all language modesNikolas Klauser
2023-07-12[Clang] Correctly handle $, @, and ` when represented as UCNCorentin Jabot
2023-05-04[clang] Use -std=c++23 instead of -std=c++2bMark de Wever
2023-05-03[clang][deps] Teach dep directive scanner about #pragma clang system_headerBen Langmuir
2023-04-27[C++20] [Modules] Avoid crash if the inconsistency the size of lang options e...Chuanqi Xu
2023-03-15Use *{Map,Set}::contains (NFC)Kazu Hirata
2023-01-28Use llvm::count{lr}_{zero,one} (NFC)Kazu Hirata
2023-01-19[Lex] For dependency directive lexing, angled includes in `__has_include` sho...Argyrios Kyrtzidis
2023-01-14[clang] Remove remaining uses of llvm::Optional (NFC)Kazu Hirata
2023-01-14[clang] Use std::optional instead of llvm::Optional (NFC)Kazu Hirata
2023-01-14[clang] Add #include <optional> (NFC)Kazu Hirata
2023-01-03[Clang] Fix a crash when encountering an ill-formed delimited UCN.Corentin Jabot