hanchenye-llvm-project/clang-tools-extra/clang-tidy
Yan Wang 7696b71d64 [clang-tidy] TwineLocalCheck: add param # checking
Summary:
The statement **getArg** tries to get the first one without checking, which may cause segmentation fault.

 

Reviewers: chh, bkramer

Reviewed By: bkramer

Subscribers: cfe-commits, xazax.hun

Tags: #clang-tools-extra

Differential Revision: https://reviews.llvm.org/D33103

llvm-svn: 303001
2017-05-14 04:14:59 +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 new cert-dcl21-cpp check 2017-05-10 11:16:55 +00:00
cppcoreguidelines Spelling mistakes in comments. NFCI. 2017-03-30 13:10:33 +00:00
google [clang-tidy] Fix google-explicit-constructor issue with out-of-line conversions 2017-04-18 17:26:00 +00:00
hicpp [clang-tidy] fix for linker errors in hicpp checks 2017-03-30 12:31:02 +00:00
llvm [clang-tidy] TwineLocalCheck: add param # checking 2017-05-14 04:14:59 +00:00
misc Change EOL style to LF. NFC 2017-05-09 14:56:28 +00:00
modernize clang-tidy: add IgnoreMacros option to modernize-use-default-member-init 2017-05-08 15:13:31 +00:00
mpi modernize-use-auto NFC fixes 2016-12-14 15:29:23 +00:00
performance [clang-tidy] Support detecting for-range loop in inefficient-vector-operation check. 2017-04-26 18:13:05 +00:00
plugin [clang-tidy] fix missing anchor for MPI Module 2016-12-16 09:14:47 +00:00
readability [clang-tidy] Minor cleanup + a disabled test case for PR26228. NFC 2017-05-09 12:41:11 +00:00
tool [clang-tidy][CMake] Make clang-tidy usable as distribution component 2017-05-10 16:20:54 +00:00
utils Extend readability-container-size-empty to add comparisons to empty-state objects. 2017-04-24 14:57:09 +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] Allow disabling compatibility check for generated fixes. 2017-05-09 15:10:26 +00:00
ClangTidyDiagnosticConsumer.h [clang-tidy] Allow disabling compatibility check for generated fixes. 2017-05-09 15:10:26 +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