[PATCH] D50932: [ASTImporter] Add test for C++ casts and fix broken const_cast importing.

Aleksei Sidorin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 19 06:44:55 PDT 2018


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;
   Inv->getCodeGenOpts().setDebugInfo(codegenoptions::FullDebugInfo);
----------------
Is this option set to check `dynamic_cast`?


Repository:
  rC Clang

https://reviews.llvm.org/D50932





More information about the cfe-commits mailing list