diff options
author | Yan Wang <yawanng@google.com> | 2017-05-14 04:14:59 +0000 |
---|---|---|
committer | Yan Wang <yawanng@google.com> | 2017-05-14 04:14:59 +0000 |
commit | 7696b71d6418e7ac6b76bc40e3af7e9e796a3f10 (patch) | |
tree | 6dba2eb2ad5d52434964facc9efa34195598f257 /llvm/unittests/XRay/GraphTest.cpp | |
parent | 90a9ef6cedb2fb6f3c31b9d96faf21eae92dee14 (diff) | |
download | bcm5719-llvm-7696b71d6418e7ac6b76bc40e3af7e9e796a3f10.tar.gz bcm5719-llvm-7696b71d6418e7ac6b76bc40e3af7e9e796a3f10.zip |
[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
Diffstat (limited to 'llvm/unittests/XRay/GraphTest.cpp')
0 files changed, 0 insertions, 0 deletions