diff options
author | Sean Callanan <scallanan@apple.com> | 2011-12-14 01:13:04 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2011-12-14 01:13:04 +0000 |
commit | fc4f2fb0da5bea73f29af07b261042d523b3516b (patch) | |
tree | bae91e6ede72048bde43be45383c4aa3d47d3ffe /lldb/source/Core/Module.cpp | |
parent | 099fe3fb28ed04aa664ba9dd3a3b38cc10a8c5e6 (diff) | |
download | bcm5719-llvm-fc4f2fb0da5bea73f29af07b261042d523b3516b.tar.gz bcm5719-llvm-fc4f2fb0da5bea73f29af07b261042d523b3516b.zip |
This commit is the result of a general audit of
the expression parser to locate instances where
dyn_cast<>() and isa<>() are used on types, and
replace them with getAs<>() as appropriate.
The difference is that dyn_cast<>() and isa<>()
are essentially LLVM/Clang's equivalent of RTTI
-- that is, they try to downcast the object and
return NULL if they cannot -- but getAs<>() can
traverse typedefs to perform a semantic cast.
llvm-svn: 146537
Diffstat (limited to 'lldb/source/Core/Module.cpp')
0 files changed, 0 insertions, 0 deletions