[PATCH] D32646: Fix a bug that -Wmissing-braces fires on system headers

Rui Ueyama via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 30 06:39:04 PDT 2017


ruiu added inline comments.


================
Comment at: lib/Sema/SemaInit.cpp:897
+            SemaRef.getSourceManager().isInSystemHeader(SpellingLoc)) 
+          return;
       SemaRef.Diag(StructuredSubobjectInitList->getLocStart(),
----------------
Please use clang-format to format your code.


https://reviews.llvm.org/D32646





More information about the cfe-commits mailing list