ebevhan added inline comments.

================
Comment at: lib/Sema/SemaExpr.cpp:5745
+    // C99 6.5.2.5p6: Function scope compound literals must have automatic
+    // storage which generally excludes address space-qualified ones.
+    Diag(LParenLoc, diag::err_compound_literal_with_address_space)
----------------
rjmccall wrote:
> Usually when we mention a standard section like this, it's a prelude to a 
> quote.  If you're just paraphrasing, I think we can trust people to find the 
> right standard section.
Hm, alright. I figured it was better to both provide the exact section and also 
include a summary here so you don't have to look it up.

Should I change it or is it good anyway?


Repository:
  rC Clang

https://reviews.llvm.org/D51426



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

Reply via email to