summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/attr-capabilities.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [ThreadSafetyAnalysis] Fix isCapabilityExprYi Kong2017-12-141-0/+17
There are many more expr types that can be a capability expr, like CXXThisExpr, CallExpr, MemberExpr. Instead of enumerating all of them, just check typeHasCapability for any type given. Also add & and * operators to allowed unary operators. Differential Revision: https://reviews.llvm.org/D41224 llvm-svn: 320753
OpenPOWER on IntegriCloud