aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Lex/LexerTest.cpp
AgeCommit message (Expand)AuthorFilesLines
2025-06-26[clang] NFC: Add alias for std::pair<FileID, unsigned> used in SourceLocation...Haojian Wu1-4/+3
2025-06-26[clang][Preprocessor] Handle the first pp-token in EnterMainSourceFile (#145244)yronglin1-15/+19
2025-06-21[C++][Modules] A module directive may only appear as the first preprocessing ...yronglin1-1/+46
2025-05-22Reapply "[clang] Remove intrusive reference count from `DiagnosticOptions` (#...Jan Svoboda1-6/+4
2025-05-22Revert "[clang] Remove intrusive reference count from `DiagnosticOptions` (#1...Kazu Hirata1-4/+6
2025-05-22[clang] Remove intrusive reference count from `DiagnosticOptions` (#139584)Jan Svoboda1-6/+4
2025-04-28[clang] Hide the `TargetOptions` pointer from `CompilerInvocation` (#106271)Jan Svoboda1-1/+1
2025-04-04[clang] Do not share ownership of `PreprocessorOptions` (#133467)Jan Svoboda1-2/+2
2025-03-25[clang][lex] Store non-owning options ref in `HeaderSearch` (#132780)Jan Svoboda1-2/+2
2025-01-22[clang-reorder-fields] Reorder leading comments (#123740)Clement Courbet1-0/+35
2025-01-16[clang][refactor] Refactor `findNextTokenIncludingComments` (#123060)Clement Courbet1-0/+21
2024-12-05Skip escaped newlines before checking for whitespace in Lexer::getRawToken. (...Samira Bazuzi1-0/+32
2023-10-05[Lex] Introduce Preprocessor::LexTokensUntilEOF()Jonas Hahnfeld1-13/+2
2023-08-22[Lex] Preambles should contain the global module fragment.Sam McCall1-0/+34
2023-01-09Move from llvm::makeArrayRef to ArrayRef deduction guides - clang/ partserge-sans-paille1-1/+1
2022-10-06Revert "Revert "[clang][Lex] Fix a crash on malformed string literals""Kadir Cetinkaya1-0/+1
2022-10-05Revert "[clang][Lex] Fix a crash on malformed string literals"Kadir Cetinkaya1-8/+0
2022-10-05[clang][Lex] Fix a crash on malformed string literalsKadir Cetinkaya1-0/+8
2022-06-25[clang, clang-tools-extra] Don't use Optional::{hasValue,getValue} (NFC)Kazu Hirata1-1/+1
2022-02-07[clang][Lexer] Fix tests after ff77071a4d67Kadir Cetinkaya1-0/+2
2022-01-31[clang][Lexer] Make raw and normal lexer behave the same for line commentsKadir Cetinkaya1-0/+25
2021-07-14[Lexer] Fix bug in `makeFileCharRange` called on split tokens.Yitzhak Mandelbaum1-1/+64
2020-04-22[clang] Make sure argument expansion locations are correct in presence of pre...Kadir Cetinkaya1-0/+13
2020-01-28Make llvm::StringRef to std::string conversions explicit.Benjamin Kramer1-1/+1
2019-10-07[clang] Add test for FindNextToken in Lexer.Utkarsh Saxena1-2/+23
2019-08-14[Clang] Migrate llvm::make_unique to std::make_uniqueJonas Devlieghere1-1/+1
2019-07-30Remove cache for macro arg stringizationReid Kleckner1-5/+8
2019-04-23Re-apply r357823 "[Lexer] NFC: Fix an off-by-one bug in getAsCharRange()."Artem Dergachev1-0/+19
2019-04-05Revert "[Lexer] NFC: Fix an off-by-one bug in getAsCharRange()."Artem Dergachev1-19/+0
2019-04-05[Lexer] NFC: Fix an off-by-one bug in getAsCharRange().Artem Dergachev1-0/+19
2019-03-09Modules: Rename MemoryBufferCache to InMemoryModuleCacheDuncan P. N. Exon Smith1-3/+1
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-04-30PR37189 Fix incorrect end source location and spelling for a split '>>' token.Richard Smith1-5/+4
2018-01-12[Lex] Avoid out-of-bounds dereference in LexAngledStringLiteral.Volodymyr Sapsai1-0/+2
2018-01-10[Lex] Inline a variable in test in preparation for more similar tests. NFC.Volodymyr Sapsai1-2/+1
2017-12-06Stringizing raw string literals containing newlineTaewook Oh1-1/+39
2017-10-14[Lex] Avoid out-of-bounds dereference in SkipLineCommentAlex Lorenz1-0/+5
2017-08-10[Lexer] Finding beginning of token with escaped new lineAlexander Kornienko1-0/+53
2017-07-17[NFC] Refactor the Preprocessor function that handles Macro definitions and r...Faisal Vali1-3/+3
2017-07-17Revert changes from my previous refactoring - will need to fix dependencies i...Faisal Vali1-3/+3
2017-07-17[NFC] Refactor the Preprocessor function that handles Macro definitions and r...Faisal Vali1-3/+3
2017-06-15LexerTest memory leak fix-Erich Keane1-1/+3
2017-06-15Fix LexerTest signed/unsigned comparison.Erich Keane1-1/+1
2017-06-14[Preprocessor]Correct Macro-Arg allocation of StringifiedArguments, Erich Keane1-9/+62
2017-06-09Add #pragma clang module build/endbuild pragmas for performing a module buildRichard Smith1-19/+1
2017-03-20Reapply "Modules: Cache PCMs in memory and avoid a use-after-free"Duncan P. N. Exon Smith1-1/+4
2017-03-18Revert "Modules: Cache PCMs in memory and avoid a use-after-free"Renato Golin1-4/+1
2017-03-17Modules: Cache PCMs in memory and avoid a use-after-freeDuncan P. N. Exon Smith1-1/+4
2017-01-06shared_ptrify (from InclusiveRefCntPtr) HeaderSearchOptionsDavid Blaikie1-2/+2
2017-01-05Move PreprocessorOptions to std::shared_ptr from IntrusiveRefCntPtrDavid Blaikie1-2/+2