[PATCH] D99576: [ASTImporter][NFC] Improve test coverage

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 31 03:25:22 PDT 2021


thakis added inline comments.


================
Comment at: clang/unittests/AST/ASTImporterTest.cpp:3089
+struct ImportBlock : ASTImporterOptionSpecificTestBase {};
+const internal::VariadicDynCastAllOfMatcher<Decl, BlockDecl> blockDecl;
+TEST_P(ImportBlock, ImportBlocksAreUnsupported) {
----------------
Does this have to be a global? It can just be in the TEST_P, no?

As-is, this causes linker errors: http://45.33.8.238/linux/43089/step_4.txt

If it does have to be a global for some reason, please put it in an unnamed namespace.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99576



More information about the cfe-commits mailing list