summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/loop-widening-ignore-static-methods.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [analyzer] Avoid querying this-pointers for static-methods.Matt Davis2018-08-071-0/+12
Summary: The loop-widening code processes c++ methods looking for `this` pointers. In the case of static methods (which do not have `this` pointers), an assertion was triggering. This patch avoids trying to process `this` pointers for static methods, and thus avoids triggering the assertion . Reviewers: dcoughlin, george.karpenkov, NoQ Reviewed By: NoQ Subscribers: NoQ, xazax.hun, szepet, a.sidorin, mikhail.ramalho, cfe-commits Differential Revision: https://reviews.llvm.org/D50408 llvm-svn: 339201
OpenPOWER on IntegriCloud