[all-commits] [llvm/llvm-project] f1ac00: [pseudo] Add grammar annotations support.
Haojian Wu via All-commits
all-commits at lists.llvm.org
Thu Jun 9 03:08:10 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f1ac00c9b0d17e48f464709fc554ebf73f165158
https://github.com/llvm/llvm-project/commit/f1ac00c9b0d17e48f464709fc554ebf73f165158
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2022-06-09 (Thu, 09 Jun 2022)
Changed paths:
M clang-tools-extra/pseudo/include/clang-pseudo/Grammar.h
M clang-tools-extra/pseudo/lib/grammar/Grammar.cpp
M clang-tools-extra/pseudo/lib/grammar/GrammarBNF.cpp
M clang-tools-extra/pseudo/unittests/GrammarTest.cpp
Log Message:
-----------
[pseudo] Add grammar annotations support.
Add annotation handling ([key=value]) in the BNF grammar parser, which
will be used in the conditional reduction, and error recovery.
Reviewed By: sammccall
Differential Revision: https://reviews.llvm.org/D126536
More information about the All-commits
mailing list