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

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 30 10:03:43 PDT 2021


shafik accepted this revision.
shafik added a comment.

Thank you for adding these tests! LGTM



================
Comment at: clang/unittests/AST/ASTImporterTest.cpp:3078
+  EXPECT_TRUE(ToField->isBitField());
+  EXPECT_EQ(3u, ToField->getBitWidthValue(ToTU->getASTContext()));
+}
----------------
Can we also check they type of the bitfield?


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