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 | 38a328276cf5822d5b32c1bab064f24946142295 (patch) | |
tree | 39a9091f04c39a655eb85e454f3b0b3c6501df40 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f91c5ab3418be94dc13a116af85a0797c5302f99 (diff) | |
download | bcm5719-llvm-38a328276cf5822d5b32c1bab064f24946142295.tar.gz bcm5719-llvm-38a328276cf5822d5b32c1bab064f24946142295.zip |
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.
llvm-svn: 130707
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions