aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAaron Puchert <aaronpuchert@alice-dsl.net>2020-07-26 01:53:32 +0200
committerAaron Puchert <aaronpuchert@alice-dsl.net>2020-10-25 19:37:16 +0100
commitb296c64e64a0bc600538c8bc67d4ccc2564e3c72 (patch)
treeb8de96dadf68510d2df62d19fe939990298a7b61 /clang/lib/CodeGen/CodeGenFunction.cpp
parent5250a03a9959c2701a8338fe1a1ffa8bd93d6173 (diff)
downloadllvm-b296c64e64a0bc600538c8bc67d4ccc2564e3c72.zip
llvm-b296c64e64a0bc600538c8bc67d4ccc2564e3c72.tar.gz
llvm-b296c64e64a0bc600538c8bc67d4ccc2564e3c72.tar.bz2
Thread safety analysis: Nullability improvements in TIL, NFCI
The constructor of Project asserts that the contained ValueDecl is not null, use that in the ThreadSafetyAnalyzer. In the case of LiteralPtr it's the other way around. Also dyn_cast<> is sufficient if we know something isn't null.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions