aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/ThreadSafetyCommon.cpp
diff options
context:
space:
mode:
authorAaron Puchert <aaron.puchert@sap.com>2022-07-14 13:39:04 +0200
committerAaron Puchert <aaron.puchert@sap.com>2022-10-06 22:18:26 +0200
commitd8fa40dfa7adb062c969ce7ea6ce505e10626838 (patch)
tree499f43bafb4b24b02ac9d4a8531bfa521262c92c /clang/lib/Analysis/ThreadSafetyCommon.cpp
parent32dc48094b0c7074617a2b237927128ef148db6d (diff)
downloadllvm-d8fa40dfa7adb062c969ce7ea6ce505e10626838.zip
llvm-d8fa40dfa7adb062c969ce7ea6ce505e10626838.tar.gz
llvm-d8fa40dfa7adb062c969ce7ea6ce505e10626838.tar.bz2
Thread safety analysis: Handle additional cast in scoped capability construction
We might have a CK_NoOp cast and a further CK_ConstructorConversion. As an optimization, drop some IgnoreParens calls: inside of the CK_{Constructor,UserDefined}Conversion should be no more parentheses, and inside the CXXBindTemporaryExpr should also be none. Lastly, we factor out the unpacking so that we can reuse it for MaterializeTemporaryExprs later on. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D129752
Diffstat (limited to 'clang/lib/Analysis/ThreadSafetyCommon.cpp')
0 files changed, 0 insertions, 0 deletions