[clang][CFG][NFC] A few smaller cleanups
authorTimm Bäder <tbaeder@redhat.com>
Wed, 21 Jun 2023 09:15:55 +0000 (11:15 +0200)
committerTimm Bäder <tbaeder@redhat.com>
Tue, 27 Jun 2023 09:38:41 +0000 (11:38 +0200)
commit173df3dd5f9a812b07f9866965f4e92a982a3fca
treefa2b6f9bb68ee96723ea50c3c1654162b2a486b2
parentc3196947312e530960fde1b8849a4a848a5095f3
[clang][CFG][NFC] A few smaller cleanups

Use dyn_cast_if_present instead of _or_null, use decomposition decls,
and a few other minor things.
clang/lib/Analysis/CFG.cpp
clang/lib/Analysis/ThreadSafety.cpp