[PATCH] D126536: [pseudo] Add grammar annotations support.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 7 11:55:56 PDT 2022


hokein updated this revision to Diff 434906.
hokein marked 5 inline comments as done.
hokein added a comment.

- bring back the attribute concept, narrow down the ExtensionID scope (only used for semantic);
- loose and simplify the BNF annotations parsing; ([] only allows single attribute, attribute without value are acceptable);
- address other comments;


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126536/new/

https://reviews.llvm.org/D126536

Files:
  clang-tools-extra/pseudo/include/clang-pseudo/Grammar.h
  clang-tools-extra/pseudo/lib/grammar/Grammar.cpp
  clang-tools-extra/pseudo/lib/grammar/GrammarBNF.cpp
  clang-tools-extra/pseudo/unittests/GrammarTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126536.434906.patch
Type: text/x-patch
Size: 9024 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220607/93694619/attachment.bin>


More information about the cfe-commits mailing list