ruiu added inline comments.
================ Comment at: test/Sema/warn-missing-braces.c:6-11 +typedef struct _GUID { + unsigned Data1; + unsigned short Data2; + unsigned short Data3; + unsigned char Data4[8]; +} GUID; ---------------- You can simplify this, can't you? It seems something like struct foo { unsigned data[2]; }; suffices. ================ Comment at: test/Sema/warn-missing-braces.c:22 + +GUID g = REGISTRY_EXTENSION_GUID; // should not show warnings + ---------------- So this can be something like `struct foo b = BAR;` https://reviews.llvm.org/D32646 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits