Use enums for the strict flex arrays flag so that it's more readable.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Thanks for working on this! A few nits inline
clang/include/clang/Basic/LangOptions.h | ||
---|---|---|
369 | typo: member | |
373 | + size | |
375 | I think you meant Any trailing array member of undefined size is a FAM | |
clang/include/clang/Driver/Options.td | ||
1155 | Note that this depends on https://reviews.llvm.org/D134902 to have the "Incomplete" support. |
The StaticAnalyzer changes seem to be correct.
clang/include/clang/Basic/LangOptions.h | ||
---|---|---|
369–376 | For most cases, I can either see no initializers or only the first entry is being initialized. | |
clang/lib/StaticAnalyzer/Core/MemRegion.cpp | ||
799 |
Fix typos.
clang/include/clang/Basic/LangOptions.h | ||
---|---|---|
369–376 | I wanted to be explicit with the numbering, because it corresponds with the value specified with -fstrict-flex-arrays=<n>. |
hi, seeing our amdgpu buildbot broken with this patch. please look into ?
let me know if you any help on our end.
https://lab.llvm.org/buildbot/#/builders/193/builds/19744
typo: member