aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Tooling/Syntax
AgeCommit message (Expand)AuthorFilesLines
2022-10-10[Syntax] avoid using c++17 features on 15.x branchSam McCall1-2/+4
2022-10-10[Syntax] Fix macro-arg handling in TokenBuffer::spelledForExpandedSam McCall1-63/+155
2022-07-15[syntax] Some #includes cleanup, NFC.Haojian Wu2-3/+2
2022-07-15[syntax] Introduce a TokenManager interface.Haojian Wu7-94/+114
2022-06-20Don't use Optional::hasValue (NFC)Kazu Hirata1-2/+2
2022-03-16Reapply [pseudo] Move pseudoparser from clang to clang-tools-extra"Sam McCall12-2159/+0
2022-03-16Revert "[pseudo] Move pseudoparser from clang to clang-tools-extra"Sam McCall12-0/+2159
2022-03-16[pseudo] Move pseudoparser from clang to clang-tools-extraSam McCall12-2159/+0
2022-03-07[pseudo] Strip comments for TokenStream.Haojian Wu1-0/+11
2022-03-07[pseudo] empty parameter-declaration should be allowed in lambda declarator.Haojian Wu1-1/+1
2022-03-07[pseudo] Rename {Preprocess,PPStructure} -> DirectiveMap. NFCSam McCall2-39/+42
2022-03-07[pseudo] Add readmeSam McCall1-0/+37
2022-03-03[pseudo] Fix an out-of-bound access for LRTable::Actions.Haojian Wu1-0/+2
2022-03-02[pseudo] fix some comment nits, NFC.Haojian Wu1-2/+2
2022-03-02[pseudo] Fix an out-of-bound error in LRTable::find.Haojian Wu1-6/+5
2022-02-23[pseudo] fix an out-of-bound error in LRTable.Haojian Wu1-1/+1
2022-02-23[Pseudo] Token/TokenStream, PP directive parser.Sam McCall4-0/+421
2022-02-23Silence some "not all control paths return a value" warnings; NFCAaron Ballman1-0/+1
2022-02-23[pseudo] Implement LRTable.Haojian Wu5-13/+287
2022-02-09[NFC] Fix sign-compare warning in GrammarBNF thanks to int promotionErich Keane1-1/+1
2022-02-09[pseudo] Implement LRGraphHaojian Wu2-0/+232
2022-02-09[pseudo] Add first and follow set computation in Grammar.Haojian Wu1-0/+91
2022-02-04[syntax][pseudo] Introduce the C++ spec grammar.Haojian Wu2-1/+740
2022-02-04[pseudo] NFC, clangSyntaxPsuedo => clangToolingSyntaxPseudoHaojian Wu1-1/+1
2022-02-03[syntax][pseudo] Add Grammar for the clang pseudo-parserHaojian Wu4-0/+349
2022-01-26[clang][syntax] Replace `std::vector<bool>` useJan Svoboda1-3/+4
2021-12-09[NFC][tools] Return underlying strings directly instead of OS.str()Logan Smith2-2/+2
2021-11-19[clang][NFC] Inclusive terms: replace some uses of sanity in clangZarko Todorovski1-1/+1
2021-10-25[clang] Use llvm::{count,count_if,find_if,all_of,none_of} (NFC)Kazu Hirata1-3/+2
2021-04-07[clang][Syntax] Handle invalid source range in expandedTokens.Utkarsh Saxena1-4/+12
2021-03-25[clang][Syntax] Optimize expandedTokens for token ranges.Utkarsh Saxena1-0/+24
2021-02-18[Syntax] No crash on OpaqueValueExpr.Haojian Wu1-0/+5
2021-02-11[Syntax] Remove a strict valid source location assertion for TypeLoc.Haojian Wu1-2/+3
2021-02-04[Syntax] Support condition for IfStmt.Haojian Wu1-0/+28
2020-11-12[Syntax] Tablegen literal expressions.Sam McCall1-4/+0
2020-11-11[Syntax] Tablegen Sequence classes. NFCSam McCall1-69/+0
2020-11-11[Syntax] Tablegen operator<<(NodeKind). NFCSam McCall1-126/+4
2020-11-11Reland [Syntax] Add minimal TableGen for syntax nodes. NFCSam McCall2-20/+4
2020-11-09Revert "[Syntax] Add minimal TableGen for syntax nodes. NFC"Sam McCall2-4/+20
2020-11-09[Syntax] Add minimal TableGen for syntax nodes. NFCSam McCall2-20/+4
2020-11-09[clang] Simplify buildSyntaxTree APIKirill Bobyrev1-3/+3
2020-11-05[SyntaxTree] Add reverse links to syntax Nodes.Eduardo Caldas4-46/+84
2020-11-03[Syntax] DeclaratorList is a ListSam McCall1-0/+5
2020-10-28[Syntax] Add iterators over children of syntax trees.Sam McCall1-30/+30
2020-10-27[clangd] Start using SyntaxTrees for folding ranges featureKirill Bobyrev1-11/+11
2020-10-20[clang] Use SourceLocation as key in hash maps, NFCIMikhail Maltsev2-9/+8
2020-10-14[SyntaxTree][NFC] Nit on `replaceChildRangeLowLevel`Eduardo Caldas1-3/+3
2020-10-14[SyntaxTree] Bug fix in `MutationsImpl::addAfter`.Eduardo Caldas1-14/+20
2020-10-14[SyntaxTree] Improve safety of `replaceChildRangeLowLevel`Eduardo Caldas1-21/+38
2020-10-01Migrate Declarators to use the List APIEduardo Caldas3-6/+92