SUSE / clang-extract

A tool to extract code content from source files using the clang and LLVM infrastructure.
Other
16 stars 2 forks source link

Replace all `dynamic_cast<>` for `dyn_cast<>` #87

Closed giulianobelinassi closed 3 months ago

giulianobelinassi commented 4 months ago

If clang is compiled without RTTY information then dynamic_cast will always fail. Change it to clang's own dyn_cast<> which should behave the same

jh991205 commented 4 months ago

I have made the changes in pull request #90. Please review the changes at your convenience, and let me know if there are any further adjustments or improvements needed.