[PATCH] Remove limits on the number of fix-it hints and ranges in the DiagnosticsEngine.

Alexander Kornienko alexfh at google.com
Thu May 22 12:23:59 PDT 2014


Hi rsmith,

The limits on the number of fix-it hints and ranges attached to a
diagnostic are arbitrary and don't apply universally to all users of the
DiagnosticsEngine. The way the limits are enforced may lead to diagnostics
generating invalid sets of fixes. I suggest removing the limits, which will also
simplify the implementation.

http://reviews.llvm.org/D3879

Files:
  .gitignore
  include/clang/Basic/Diagnostic.h
  include/clang/Basic/PartialDiagnostic.h
  lib/Basic/Diagnostic.cpp
  lib/Format/Format.cpp
  lib/Frontend/SerializedDiagnosticPrinter.cpp
  lib/Frontend/TextDiagnosticPrinter.cpp
  lib/Lex/LiteralSupport.cpp
  lib/Lex/PPMacroExpansion.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3879.9713.patch
Type: text/x-patch
Size: 13256 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140522/180185df/attachment.bin>


More information about the cfe-commits mailing list