summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaTemplateDeduction.cpp
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2017-12-14 22:24:45 +0000
committerYi Kong <yikong@google.com>2017-12-14 22:24:45 +0000
commit2d58d19c4854eb8051badacb1d2e6e5d6398426e (patch)
tree6fc23324d6b3ca7dc152a8462729418f107e2495 /clang/lib/Sema/SemaTemplateDeduction.cpp
parent802de4f7ac0c495b14a4ba5eab47579ae4031b01 (diff)
downloadbcm5719-llvm-2d58d19c4854eb8051badacb1d2e6e5d6398426e.tar.gz
bcm5719-llvm-2d58d19c4854eb8051badacb1d2e6e5d6398426e.zip
[ThreadSafetyAnalysis] Fix isCapabilityExpr
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
Diffstat (limited to 'clang/lib/Sema/SemaTemplateDeduction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud