This revision was automatically updated to reflect the committed changes.
Closed by commit rL340182: [ASTImporter] Add test for C++ casts and fix broken
const_cast importing. (authored by teemperor, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
teemperor updated this revision to Diff 161496.
teemperor added a comment.
- Added comment why we enable RTTI.
https://reviews.llvm.org/D50932
Files:
lib/AST/ASTImporter.cpp
test/Import/cxx-casts/Inputs/F.cpp
test/Import/cxx-casts/test.cpp
tools/clang-import-test/clang-import-test.cpp
a_sidorin accepted this revision.
a_sidorin added a comment.
This revision is now accepted and ready to land.
Thank you!
Comment at: tools/clang-import-test/clang-import-test.cpp:197
Inv->getLangOpts()->DollarIdents = true;
+ Inv->getLangOpts()->RTTI = true;
teemperor created this revision.
Herald added a subscriber: martong.
Herald added a reviewer: a.sidorin.
Repository:
rC Clang
https://reviews.llvm.org/D50932
Files:
lib/AST/ASTImporter.cpp
test/Import/cxx-casts/Inputs/F.cpp
test/Import/cxx-casts/test.cpp