[LLVMbugs] [Bug 11739] Have a fixit for |const char[] kFoo = "foo"; | et al

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 12 08:50:26 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=11739

Nico Weber <nicolasweber at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rtrieu at google.com
         Resolution|---                         |FIXED

--- Comment #7 from Nico Weber <nicolasweber at gmx.de> ---
Someone (I think rtrieu?) fixed this a while ago:

$ bin/clang -c test2.cc
test2.cc:1:18: error: brackets go after the unqualified-id
const char[] kFoo = "foo";
          ~~     ^
                 []
1 error generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150112/9f04005e/attachment.html>


More information about the llvm-bugs mailing list