reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
407 match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 408 EXPECT_FALSE(isMutated(Results, AST.get())); 410 AST = buildASTFromCode(StdRemoveReference + StdMove + 412 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 413 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("std::move(x) = y")); 415 AST = buildASTFromCode(StdRemoveReference + StdMove + 417 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 418 EXPECT_FALSE(isMutated(Results, AST.get())); 420 AST = 424 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 425 EXPECT_FALSE(isMutated(Results, AST.get())); 427 AST = buildASTFromCode(StdRemoveReference + StdMove + 430 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 431 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("y = std::move(x)")); 433 AST = buildASTFromCode(StdRemoveReference + StdMove + 437 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 438 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("y = std::move(x)")); 440 AST = buildASTFromCode(StdRemoveReference + StdMove + 444 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 445 EXPECT_FALSE(isMutated(Results, AST.get())); 447 AST = buildASTFromCode(StdRemoveReference + StdMove + 450 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 451 EXPECT_FALSE(isMutated(Results, AST.get())); 453 AST = buildASTFromCode(StdRemoveReference + StdMove + 455 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 456 EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("y = std::move(x)")); 458 AST = buildASTFromCode( 461 Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext()); 462 EXPECT_FALSE(isMutated(Results, AST.get()));