llvm-project/clang-tools-extra/clang-tidy
Chih-Hung Hsieh 90fccec5ee [clang-tidy] Reuse FileID in getLocation
One FileID per warning will increase and overflow NextLocalOffset
when input file is large with many warnings.
Reusing FileID avoids this problem.

This requires changes in getColumnNumber, D31406, rL299681.

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

llvm-svn: 299700
2017-04-06 20:19:26 +00:00
..
boost [clang-tidy] boost-use-to-string arg expr location bugfix 2016-06-28 08:16:20 +00:00
cert [clang-tidy] Add cert-dcl58-cpp (do not modify the 'std' namespace) check. 2017-02-17 08:52:51 +00:00
cppcoreguidelines Spelling mistakes in comments. NFCI. 2017-03-30 13:10:33 +00:00
google [clang-tidy] Verify some conditions in a matcher instead of check(). NFC 2017-03-17 09:47:05 +00:00
hicpp [clang-tidy] fix for linker errors in hicpp checks 2017-03-30 12:31:02 +00:00
llvm modernize-use-auto NFC fixes 2016-12-14 15:29:23 +00:00
misc [clang-tidy] Check for forwarding reference overload in constructors. 2017-04-06 09:56:42 +00:00
modernize Fixes for modernize-use-using check: 2017-04-02 19:12:20 +00:00
mpi modernize-use-auto NFC fixes 2016-12-14 15:29:23 +00:00
performance [clang-tidy] Ignore implicit functions in performance-unnecessary-value-param 2017-01-23 13:18:08 +00:00
plugin [clang-tidy] fix missing anchor for MPI Module 2016-12-16 09:14:47 +00:00
readability [clang-tidy] clang-format the last patch. NFC 2017-03-22 12:50:05 +00:00
tool [clang-tidy] Update docs and help message 2017-04-06 14:27:00 +00:00
utils Spelling mistakes in comments. NFCI. 2017-03-30 13:10:33 +00:00
CMakeLists.txt Rename the clang-tidy safety module to be hicpp, for the High-Integrity C++ coding standard from PRQA. 2017-03-19 17:23:23 +00:00
ClangTidy.cpp [clang-tidy] Reuse FileID in getLocation 2017-04-06 20:19:26 +00:00
ClangTidy.h [clang-tidy] Add FormatStyle configuration option. 2017-04-06 13:41:29 +00:00
ClangTidyDiagnosticConsumer.cpp [clang-tidy] Fix treating non-space whitespaces in checks list. 2017-03-23 16:32:06 +00:00
ClangTidyDiagnosticConsumer.h [clang-tidy] Add FormatStyle configuration option. 2017-04-06 13:41:29 +00:00
ClangTidyModule.cpp Apply performance-unnecessary-value-param to clang-tidy. 2016-06-15 15:46:10 +00:00
ClangTidyModule.h [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
ClangTidyModuleRegistry.h Reapply r276973 "Adjust Registry interface to not require plugins to export a registry" 2016-08-05 11:01:08 +00:00
ClangTidyOptions.cpp [clang-tidy] Add FormatStyle configuration option. 2017-04-06 13:41:29 +00:00
ClangTidyOptions.h [clang-tidy] Add FormatStyle configuration option. 2017-04-06 13:41:29 +00:00
add_new_check.py [clang-tidy] Rename modernize-use-default to modernize-use-equals-default 2016-12-01 17:24:42 +00:00
rename_check.py [clang-tidy] Improve rename_check.py. 2016-11-08 11:43:50 +00:00