[syntax][pseudo] Introduce the C++ spec grammar.
authorHaojian Wu <hokein.wu@gmail.com>
Thu, 20 Jan 2022 10:02:50 +0000 (11:02 +0100)
committerHaojian Wu <hokein.wu@gmail.com>
Fri, 4 Feb 2022 10:58:50 +0000 (11:58 +0100)
commite1db505b42f4d0799640988bbdf1ab83a661a46c
tree887c1dec45405ac56dbe278923cced75335678bf
parentffe8720aa060d66297500f30bb8ad02114e40326
[syntax][pseudo] Introduce the C++ spec grammar.

Add a dummy clang-pseudo tool (right now it accepts and parses the
grammar file).

Differential Revision: https://reviews.llvm.org/D115856
clang/lib/Tooling/Syntax/Pseudo/GrammarBNF.cpp
clang/lib/Tooling/Syntax/Pseudo/cxx.bnf [new file with mode: 0644]
clang/test/CMakeLists.txt
clang/test/Syntax/check-cxx-bnf.test [new file with mode: 0644]
clang/test/Syntax/lit.local.cfg [new file with mode: 0644]
clang/tools/CMakeLists.txt
clang/tools/clang-pseudo/CMakeLists.txt [new file with mode: 0644]
clang/tools/clang-pseudo/ClangPseudo.cpp [new file with mode: 0644]