shafik added inline comments.

================
Comment at: clang/lib/Sema/SemaInit.cpp:5332
+        if (Arg)
+          IS.Diagnose(S, SubEntity, SubKind, Arg);
+        else
----------------
Do we have tests that trigger this diagnostic and the one right below?


================
Comment at: clang/lib/Sema/SemaInit.cpp:9264
       cast<FieldDecl>(Entity.getDecl())->isBitField())
     S.CheckBitFieldInitialization(Kind.getLocation(),
                                   cast<FieldDecl>(Entity.getDecl()),
----------------
I don't see any tests that checks this set of diagnostics for parens init. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148274

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to