llvm-project/clang-tools-extra/clang-tidy/llvm
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
..
CMakeLists.txt [clang-tidy] Bring order to check registration. 2014-10-26 01:41:14 +00:00
HeaderGuardCheck.cpp [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
HeaderGuardCheck.h [clang-tidy] Some tweaks on header guard checks. 2016-08-26 11:15:38 +00:00
IncludeOrderCheck.cpp Analyze include order on a per-file basis. 2016-08-12 18:38:26 +00:00
IncludeOrderCheck.h [clang-tidy] Update docs for clang-tidy checks. NFC 2015-08-27 18:01:58 +00:00
LLVMTidyModule.cpp [clang-tidy] Refactor: Move llvm clang-tidy checks to namespace clang::tidy::llvm 2015-03-02 12:39:18 +00:00
TwineLocalCheck.cpp [clang-tidy] TwineLocalCheck: add param # checking 2017-05-14 04:14:59 +00:00
TwineLocalCheck.h [clang-tidy] Update docs for clang-tidy checks. NFC 2015-08-27 18:01:58 +00:00