commit | f9a668dae970ccc63403c0745d6049ef16b2a6d6 | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Thu Oct 03 21:47:42 2019 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Thu Oct 03 21:47:42 2019 +0000 |
tree | de07b75349bdce8e4c64b516e37ad2134f9ccf85 | |
parent | ae56b6c181f93a82e8e8ed960f9a88f6e0817e0d [diff] |
ASTContext - silence static analyzer getAs<> null dereference warnings. NFCI. The static analyzer is warning about potential null dereferences, but we should be able to use castAs<> directly and if not assert will fire for us. We can also remove a number of explicit asserts and reply on the internal asserts in castAs<> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373667 91177308-0d34-0410-b5e6-96231b3b80d8