================
@@ -95,4 +96,29 @@ TEST(TextDiagnostic, ShowLine) {
EXPECT_EQ("main.cpp:1: warning: message\n", PrintDiag(DiagOpts, Loc));
}
+// Parameterized fixture for ShowLevel tests: bool param = ShowLevel value.
+struct ShowLevelNoLocationTest : public ::testing::TestWithParam<bool> {};
----------------
Michael137 wrote:
```suggestion
struct ShowLevelNoLocationTest : public ::testing::TestWithParam<bool /*
ShowLevel */> {};
```
https://github.com/llvm/llvm-project/pull/203520
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits