[PATCH] D126536: [pseudo] Add grammar annotations support.
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 9 05:13:19 PDT 2022
hokein added inline comments.
================
Comment at: clang-tools-extra/pseudo/lib/grammar/GrammarBNF.cpp:235
Out.Sequence.push_back({Chunk});
}
----------------
uabelho wrote:
> 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.
sorry (I don't this warning enabled), should be fixed in 9ce232fba99c47c3246f06fcbe37c24b9d90585f.
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