llvm-project/clang/lib/Frontend
Alexander Kornienko d3b4e08960 Remove limits on the number of fix-it hints and ranges in the DiagnosticsEngine.
Summary:
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.

Reviewers: rsmith

Reviewed By: rsmith

Subscribers: klimek, cfe-commits

Differential Revision: http://reviews.llvm.org/D3879

llvm-svn: 209468
2014-05-22 19:56:11 +00:00
..
ASTConsumers.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
ASTMerge.cpp [C++11] Replacing DeclBase iterators decls_begin() and decls_end() with iterator_range decls(). The same is true for the noload versions of these APIs. Updating all of the usages of the iterators with range-based for loops. 2014-03-07 19:56:05 +00:00
ASTUnit.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
CMakeLists.txt Reapply r207477 and r207479 without cyclic dependency 2014-04-29 16:25:26 +00:00
CacheTokens.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
ChainedDiagnosticConsumer.cpp Remove spurious mode marker from .cpp file. 2012-10-29 06:05:01 +00:00
ChainedIncludesSource.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
CompilerInstance.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
CompilerInvocation.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
CreateInvocationFromCommandLine.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
DependencyFile.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
DependencyGraph.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
DiagnosticRenderer.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
FrontendAction.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
FrontendActions.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
FrontendOptions.cpp Remove duplicated case. 2013-06-22 16:44:45 +00:00
HeaderIncludeGen.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-13 06:07:04 +00:00
InitHeaderSearch.cpp ARM64: initial clang support commit. 2014-03-29 15:09:45 +00:00
InitPreprocessor.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
LangStandards.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
LayoutOverrideSource.cpp Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h. 2013-02-08 22:30:41 +00:00
LogDiagnosticPrinter.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
Makefile
MultiplexConsumer.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-13 06:07:04 +00:00
PrintPreprocessedOutput.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
SerializedDiagnosticPrinter.cpp Remove limits on the number of fix-it hints and ranges in the DiagnosticsEngine. 2014-05-22 19:56:11 +00:00
TextDiagnostic.cpp The Visual Studio IDE changed behavior in VS2012. It used to be the case that 2014-03-07 00:23:36 +00:00
TextDiagnosticBuffer.cpp Support 'remark' in VerifyDiagnosticConsumer 2014-05-01 14:06:01 +00:00
TextDiagnosticPrinter.cpp Remove limits on the number of fix-it hints and ranges in the DiagnosticsEngine. 2014-05-22 19:56:11 +00:00
VerifyDiagnosticConsumer.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00