summaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTokenSourceTest.cpp
AgeCommit message (Collapse)Author
2024-05-20[clang-format][NFC] Remove redundnat llvm::, clang::, etc.Owen Pan
2023-02-15[clang-format] Enable FormatTokenSource to insert tokens.Manuel Klimek
In preparation for configured macro replacements in formatting, add the ability to insert tokens to FormatTokenSource, and implement token insertion in IndexedTokenSource. Differential Revision: https://reviews.llvm.org/D143070
2023-01-31[clang-format] Fix use after free in FormatTokenSource testBenjamin Kramer
Add a lifetime annotation to IndexedTokenSource so we get a warning for this pattern.
2023-01-31[clang-format][NFC] Bring FormatTokenSource under test.Manuel Klimek
Add tests for FormatTokenSource and harden it against edge cases.