| /llvm-project-15.0.7/clang/unittests/Tooling/Syntax/ |
| H A D | BuildTreeTest.cpp | 549 if (!GetParam().isCXX()) { in TEST_P() 581 if (!GetParam().isCXX()) { in TEST_P() 636 if (!GetParam().isCXX()) { in TEST_P() 697 if (!GetParam().isCXX()) { in TEST_P() 722 if (!GetParam().isCXX()) { in TEST_P() 761 if (!GetParam().isCXX()) { in TEST_P() 841 if (!GetParam().isCXX()) { in TEST_P() 1486 if (GetParam().isC()) { in TEST_P() 2898 if (!GetParam().isCXX11OrLater() || GetParam().hasDelayedTemplateParsing()) { in TEST_P() 4963 if (!GetParam().isCXX11OrLater() || GetParam().hasDelayedTemplateParsing()) { in TEST_P() [all …]
|
| H A D | SynthesisTest.cpp | 45 buildTree("", GetParam()); in TEST_P() 55 if (!GetParam().isCXX()) in TEST_P() 58 buildTree("", GetParam()); in TEST_P() 68 buildTree("", GetParam()); in TEST_P() 81 buildTree("", GetParam()); in TEST_P() 91 buildTree("", GetParam()); in TEST_P() 101 buildTree("", GetParam()); in TEST_P() 111 buildTree("", GetParam()); in TEST_P() 121 buildTree("", GetParam()); in TEST_P() 138 buildTree("", GetParam()); in TEST_P() [all …]
|
| H A D | TreeTest.cpp | 110 buildTree("", GetParam()); in TEST_P() 120 buildTree("", GetParam()); in TEST_P() 230 buildTree("", GetParam()); in TEST_P() 251 buildTree("", GetParam()); in TEST_P() 271 buildTree("", GetParam()); in TEST_P() 291 buildTree("", GetParam()); in TEST_P() 311 if (!GetParam().isCXX()) { in TEST_P() 314 buildTree("", GetParam()); in TEST_P() 336 if (!GetParam().isCXX()) { in TEST_P() 339 buildTree("", GetParam()); in TEST_P() [all …]
|
| H A D | MutationsTest.cpp | 29 auto *Root = buildTree(Source.code(), GetParam()); in CheckTransformation()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNodeTest.cpp | 22 if (!GetParam().isCXX()) { in TEST_P() 42 if (!GetParam().isCXX()) { in TEST_P() 75 if (!GetParam().isCXX()) { in TEST_P() 99 if (!GetParam().isCXX()) { in TEST_P() 111 if (!GetParam().isCXX()) { in TEST_P() 260 if (!GetParam().isCXX() || GetParam().hasDelayedTemplateParsing()) { in TEST_P() 412 if (!GetParam().isCXX()) in TEST_P() 580 if (!GetParam().isCXX() || GetParam().hasDelayedTemplateParsing()) { in TEST_P() 592 if (!GetParam().isCXX() || GetParam().hasDelayedTemplateParsing()) { in TEST_P() 816 if (GetParam().Language != Lang_CXX11 && GetParam().Language != Lang_CXX14) { in TEST_P() [all …]
|
| H A D | ASTMatchersNarrowingTest.cpp | 190 if (!GetParam().isCXX()) { in TEST_P() 2845 if (!GetParam().isCXX() || GetParam().hasDelayedTemplateParsing()) { in TEST_P() 2870 if (!GetParam().isCXX() || GetParam().hasDelayedTemplateParsing()) { in TEST_P() 3223 if (!GetParam().isCXX() || GetParam().hasDelayedTemplateParsing()) { in TEST_P() 3234 if (!GetParam().isCXX() || GetParam().hasDelayedTemplateParsing()) { in TEST_P() 3244 if (!GetParam().isCXX() || GetParam().hasDelayedTemplateParsing()) { in TEST_P() 3254 if (!GetParam().isCXX() || GetParam().hasDelayedTemplateParsing()) { in TEST_P() 3273 if (!GetParam().isCXX() || GetParam().hasDelayedTemplateParsing()) { in TEST_P() 3283 if (!GetParam().isCXX() || GetParam().hasDelayedTemplateParsing()) { in TEST_P() 3293 if (!GetParam().isCXX() || GetParam().hasDelayedTemplateParsing()) { in TEST_P() [all …]
|
| /llvm-project-15.0.7/lldb/unittests/Host/ |
| H A D | SocketTest.cpp | 29 if (GetParam().is_ipv6) in HostSupportsProtocol() 94 CreateTCPConnectedSockets(GetParam().localhost_ip, &socket_a_up, in TEST_P() 103 CreateTCPConnectedSockets(GetParam().localhost_ip, &socket_a_up, in TEST_P() 112 EXPECT_STREQ(GetParam().localhost_ip.c_str(), in TEST_P() 114 EXPECT_STREQ(GetParam().localhost_ip.c_str(), in TEST_P() 144 CreateTCPConnectedSockets(GetParam().localhost_ip, &socket_a_up, in TEST_P() 148 EXPECT_EQ((URI{"connect", GetParam().localhost_ip, in TEST_P()
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/ |
| H A D | ModernizeModuleTest.cpp | 250 const MatchParam &Param = GetParam(); in TEST_P() 269 EXPECT_EQ(sizeText(GetParam().Text), GetParam().Size); in TEST_P()
|
| /llvm-project-15.0.7/bolt/unittests/Core/ |
| H A D | MCPlusBuilder.cpp | 46 EHdr->e_machine = GetParam() == Triple::aarch64 ? EM_AARCH64 : EM_X86_64; in prepareElf() 56 GetParam(), BC->MIA.get(), BC->MII.get(), BC->MRI.get()))); in initializeBolt() 62 if (GetParam() != Arch) in testRegAliases() 115 if (GetParam() != Triple::x86_64) in TEST_P()
|
| H A D | BinaryContext.cpp | 36 EHdr->e_machine = GetParam() == Triple::aarch64 ? EM_AARCH64 : EM_X86_64; in prepareElf()
|
| /llvm-project-15.0.7/llvm/unittests/Demangle/ |
| H A D | DLangDemangleTest.cpp | 20 void SetUp() override { Demangled = llvm::dlangDemangle(GetParam().first); } in SetUp() 26 EXPECT_STREQ(Demangled, GetParam().second); in TEST_P()
|
| /llvm-project-15.0.7/clang/unittests/Rename/ |
| H A D | RenameClassTest.cpp | 195 auto Param = GetParam(); in TEST_P() 304 auto Param = GetParam(); in TEST_P() 400 auto Param = GetParam(); in TEST_P()
|
| H A D | RenameEnumTest.cpp | 148 auto Param = GetParam(); in TEST_P()
|
| H A D | RenameMemberTest.cpp | 160 auto Param = GetParam(); in TEST_P()
|
| H A D | RenameAliasTest.cpp | 196 auto Param = GetParam(); in TEST_P()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterVisibilityTest.cpp | 113 return std::get<0>(GetParam()); in getExtraArgs() 115 std::string getCode() const { return std::get<1>(GetParam()); } in getCode() 237 return std::get<0>(GetParam()); in getExtraArgs() 239 std::string getCode0() const { return std::get<0>(std::get<1>(GetParam())); } in getCode0() 240 std::string getCode1() const { return std::get<1>(std::get<1>(GetParam())); } in getCode1() 241 bool shouldBeLinked() const { return std::get<2>(std::get<1>(GetParam())); } in shouldBeLinked()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_stack_store_test.cpp | 146 StackStore::Compression type = GetParam().first; in TEST_P() 147 uptr expected_ratio = GetParam().second; in TEST_P() 183 StackStore::Compression type = GetParam().first; in TEST_P()
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/ |
| H A D | gtest-param-test.h | 71 EXPECT_TRUE(foo.Blah(GetParam())); 177 EXPECT_TRUE(foo.Blah(GetParam()));
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | PrintASTTests.cpp | 32 auto Pair = GetParam(); in TEST_P()
|
| /llvm-project-15.0.7/lldb/unittests/Process/Utility/ |
| H A D | LinuxProcMapsTest.cpp | 58 auto params = GetParam(); in TEST_P() 296 auto params = GetParam(); in TEST_P()
|
| /llvm-project-15.0.7/clang/unittests/Analysis/ |
| H A D | ExprMutationAnalyzerTest.cpp | 125 const std::string ModExpr = "x " + GetParam() + " 10"; in TEST_P() 134 const std::string ModExpr = "(x) " + GetParam() + " 10"; in TEST_P() 143 const std::string ModExpr = "x " + GetParam() + " 10"; in TEST_P() 154 const std::string ModExpr = "y, x, y " + GetParam() + " 10"; in TEST_P() 164 const std::string ModExpr = "(y != 0 ? y : x) " + GetParam() + " 10"; in TEST_P() 176 "(y != 0 ? (y > 5 ? y : x) : (y)) " + GetParam() + " 10"; in TEST_P() 187 const std::string ModExpr = "(y != 0 ? (y) : ((x))) " + GetParam() + " 10"; in TEST_P() 197 const std::string ModExpr = "(y ?: x) " + GetParam() + " 10"; in TEST_P() 226 const std::string ModExpr = GetParam(); in TEST_P()
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | ValueTrackingTest.cpp | 2047 auto M = parseModule(std::string("@test = global ") + GetParam().second); in TEST_P() 2054 EXPECT_EQ(GetParam().first, S.str()); in TEST_P() 2395 auto M = parseModule(GetParam().IR); in TEST_P() 2399 EXPECT_EQ(!!AI, GetParam().AnyOffsetResult); in TEST_P() 2403 auto M = parseModule(GetParam().IR); in TEST_P() 2407 EXPECT_EQ(!!AI, GetParam().ZeroOffsetResult); in TEST_P()
|
| /llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/ |
| H A D | DWARFFormValueTest.cpp | 131 ExpectedResult) = GetParam(); in SetUp() 309 void SetUp() override { std::tie(Fm, InitialData) = GetParam(); } in SetUp() 345 std::tie(Fm, InitialData, Format, ExpectedResult) = GetParam(); in SetUp()
|
| H A D | DWARFDebugLineTest.cpp | 132 void SetUp() override { std::tie(Version, Format) = GetParam(); } in SetUp() 431 void SetUp() override { Version = GetParam(); } 1092 std::tie(Version, MaxOpsPerInst, IsErrorExpected) = GetParam(); 1126 void SetUp() override { std::tie(LineRange, IsErrorExpected) = GetParam(); } 1171 std::tie(MinInstLength, IsErrorExpected) = GetParam(); 1604 std::tie(Length, ExpectedOffset, Version, Format, ExpectedErr) = GetParam(); 1779 GetParam(); 1789 ExpectedErr) = GetParam();
|
| /llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/ |
| H A D | UncheckedOptionalAccessModelTest.cpp | 1213 ReplaceAllOccurrences(SourceCode, "$ns", GetParam().NamespaceName); in ExpectDiagnosticsFor() 1214 ReplaceAllOccurrences(SourceCode, "$optional", GetParam().TypeName); in ExpectDiagnosticsFor()
|