[PATCH] Improve diagnostic message for misplaced square brackets

Richard Trieu rtrieu at google.com
Mon May 5 20:34:55 PDT 2014


Cache the results of the bracket parsing, then later add the info the Declarator to get the correct type.

http://reviews.llvm.org/D2712

Files:
  include/clang/Basic/DiagnosticParseKinds.td
  include/clang/Parse/Parser.h
  lib/Parse/ParseDecl.cpp
  test/Parser/brackets.c
  test/Parser/brackets.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2712.9095.patch
Type: text/x-patch
Size: 13712 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140506/ff963e14/attachment.bin>


More information about the cfe-commits mailing list