summaryrefslogtreecommitdiff
path: root/clang/lib/Lex/LiteralSupport.cpp
AgeCommit message (Expand)Author
2025-10-25[ADT] Prepare for deprecation of StringSwitch cases with 3+ args. NFC. (#165112)Jakub Kuderski
2025-07-21[clang] Don't warn on zero literals with -std=c2y (#149688)Timothy Herchen
2025-06-06[C2y] Handle FP-suffixes on prefixed octals (#141230) (#141695)Naveen Seth Hanig
2025-04-30[C2y] Correctly handle 0 in the preprocessor (#137844)Aaron Ballman
2025-03-18[C2y] Add octal prefixes, deprecate unprefixed octals (#131626)Aaron Ballman
2025-03-13Lex: add support for `i128` and `ui128` suffixes (#130993)Saleem Abdulrasool
2024-08-08Fix a crash with empty escape sequences when lexing (#102339)Aaron Ballman
2024-06-25[NFC][clang] Replace unreachable code in literal processing with assert (#96579)Mike Rice
2024-05-17[clang] Use constant rounding mode for floating literals (#90877)Serge Pavlov
2024-04-22[BitInt] Expose a _BitInt literal suffix in C++ (#86586)js324
2024-02-26[clang] Fixes inf loop parsing fixed point literal (#83071)PiJoules
2024-02-14[C23] Do not diagnose binary literals as an extension (#81658)Aaron Ballman
2023-11-29[HLSL] Support vector swizzles on scalars (#67700)Chris B
2023-08-11[C23] Rename C2x->C23 in diagnosticsAaron Ballman
2023-08-11[C23] Rename C2x -> C23; NFCAaron Ballman
2023-08-10[Clang] Produce a warning instead of an error in unevaluated strings before C...Corentin Jabot
2023-08-10Revert "[Clang] Produce a warning instead of an error in unevaluated strings ...Corentin Jabot
2023-08-10[Clang] Produce a warning instead of an error in unevaluated strings before C...Corentin Jabot
2023-08-09Enable concatenation of predefined identifiersRichard Dzenis
2023-07-28Fix handling of medial hyphens in Unicode Names.Corentin Jabot
2023-07-12[Clang] Correctly handle $, @, and ` when represented as UCNCorentin Jabot
2023-07-10[OpenMP][OMPIRBuilder] Rename IsEmbedded and IsTargetCodegen flagsSergio Afonso
2023-07-07Implement P2361 Unevaluated string literalsCorentin Jabot
2023-05-04[clang] Use -std=c++23 instead of -std=c++2bMark de Wever
2023-04-20[clang][Lex][NFC] Use a range for loop in StringLiteralParserTimm Bäder
2023-02-19Use APInt::count{l,r}_{zero,one} (NFC)Kazu Hirata
2023-02-16[clang] Fix a bug that allowed some overflowing octal escape sequencesSergei Barannikov
2023-01-19[Clang][OpenMP] Allow `f16` literal suffix when compiling OpenMP target offlo...Shilei Tian
2023-01-09[Clang] Silence a "unused variable" warning when building with MSVCAlexandre Ganea
2022-12-16[Support] llvm::Optional => std::optionalFangrui Song
2022-12-13[Clang] Implement CWG2640 Allow more characters in an n-char sequenceCorentin Jabot
2022-10-06Revert "Revert "[clang][Lex] Fix a crash on malformed string literals""Kadir Cetinkaya
2022-10-05Revert "[clang][Lex] Fix a crash on malformed string literals"Kadir Cetinkaya
2022-10-05[clang][Lex] Fix a crash on malformed string literalsKadir Cetinkaya
2022-08-08[clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFCFangrui Song
2022-07-14[Clang] Adjust extension warnings for delimited sequencesCorentin Jabot
2022-06-29[Clang] Rename StringLiteral::isAscii() => isOrdinary() [NFC]Corentin Jabot
2022-06-25[Clang][C++23] P2071 Named universal character escapesCorentin Jabot
2022-05-06[Lex] Don't assert when decoding invalid UCNs.Sam McCall
2022-03-14Silence -Wlogical-op-parentheses and fix a logic bug while doing soAaron Ballman
2022-03-14Implement literal suffixes for _BitIntAaron Ballman
2021-11-17LiteralSupport: Don't assert() on invalid inputDaan De Meyer
2021-10-21[clang] Use StringRef::contains (NFC)Kazu Hirata
2021-10-04[APInt] Stop using soft-deprecated constructors and methods in clang. NFC.Jay Foad
2021-09-27Removing a default constructor argument; NFCAaron Ballman
2021-09-15Implement delimited escape sequences.Corentin Jabot
2021-08-20Make wide multi-character character literals ill-formedCorentin Jabot
2021-07-22[clang][lex] NFC: Add explicit cast to silence -Wsign-compareJan Svoboda
2021-03-31[C++2b] Support size_t literalsAnton Bikineev
2021-03-15[clang][lex] Speculative fix for buffer overrun on raw string parseJan Svoboda