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

Mikael Holmén via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 9 04:46:20 PDT 2022


uabelho added inline comments.


================
Comment at: clang-tools-extra/pseudo/lib/grammar/GrammarBNF.cpp:235
 
       Out.Sequence.push_back({Chunk});
     }
----------------
I get a warning/error on this line with this commit:
```
13:31:17 ../../clang-tools-extra/pseudo/lib/grammar/GrammarBNF.cpp:235:36: error: missing field 'Attributes' initializer [-Werror,-Wmissing-field-initializers]
13:31:17       Out.Sequence.push_back({Chunk});
13:31:17                                    ^
13:31:17 1 error generated.
```
I see the warning when compiling with clang 8.0.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126536



More information about the cfe-commits mailing list