diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2011-05-02 18:54:36 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2011-05-02 18:54:36 +0000 |
| commit | 7193b3ee1abf4997c3c46486c43e70f3221d3ef3 (patch) | |
| tree | 98b4492883ac9fb1e053f33ccaa5ec2747dc61ce /lib/StaticAnalyzer/Core/BasicStore.cpp | |
| parent | 850dd809534d172b66328d9827ae27880885ac5b (diff) | |
Don't abuse reinterpret cast to do something the API of PointerUnion
provides proper support for. This was caught by
-Wundefined-reinterpret-cast, and I think a reasonable case for it to
warn on.
Also use is<...> instead of dyn_cast<...> when the result isn't needed.
This whole thing should probably switch to using UsuallyTinyPtrVector.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130707 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/BasicStore.cpp')
0 files changed, 0 insertions, 0 deletions
