[PATCH] D57322: [ASTImporter] Refactor unittests to be able to parameterize them in a more flexible way

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 29 11:48:58 PST 2019


shafik added inline comments.


================
Comment at: unittests/AST/ASTImporterTest.cpp:468
 
+  template <class DeclT> DeclT *Import(DeclT *From, Language Lang) {
+    return cast_or_null<DeclT>(Import(cast<Decl>(From), Lang));
----------------
Is this being used in this PR?


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57322/new/

https://reviews.llvm.org/D57322





More information about the cfe-commits mailing list