Fznamznon added inline comments.

================
Comment at: clang/lib/Sema/SemaDecl.cpp:13460
+          // initializer.
+          Diag(VDecl->getLocation(), diag::err_typecheck_decl_incomplete_type)
+              << VDeclType;
----------------
Not sure about the error message though, maybe it makes sense to add a message 
similar to `err_new_array_size_unknown_from_init` .


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158615

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

Reply via email to