summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/performance/ForRangeCopyCheck.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2016-01-29 15:22:10 +0000
committerAlexander Kornienko <alexfh@google.com>2016-01-29 15:22:10 +0000
commit8ac20a843978af50a5fbc4386c0659eb10eec1d5 (patch)
treef20f746d87e5d589164718218abdbfd731dcaef4 /clang-tools-extra/clang-tidy/performance/ForRangeCopyCheck.cpp
parent42e8cf4a70c04088db873a670a290ec396dbfc3f (diff)
downloadbcm5719-llvm-8ac20a843978af50a5fbc4386c0659eb10eec1d5.tar.gz
bcm5719-llvm-8ac20a843978af50a5fbc4386c0659eb10eec1d5.zip
Fixed function params comparison. Updated docs and tests.
Summary: "checkParamTypes" may fail if the the type of some parameter is not canonical. Fixed it by comparing canonical types. And added "getCanonicalType()" and "getCanonicalDecl()" on more places to prevent potential fail. Reviewers: alexfh Subscribers: cfe-commits Patch by Cong Liu! Differential Revision: http://reviews.llvm.org/D16587 llvm-svn: 259197
Diffstat (limited to 'clang-tools-extra/clang-tidy/performance/ForRangeCopyCheck.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud