[clang-tools-extra] r335845 - Fix formatting. NFC.

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 28 05:15:18 PDT 2018


Author: alexfh
Date: Thu Jun 28 05:15:17 2018
New Revision: 335845

URL: http://llvm.org/viewvc/llvm-project?rev=335845&view=rev
Log:
Fix formatting. NFC.

Modified:
    clang-tools-extra/trunk/unittests/clang-tidy/ExprMutationAnalyzerTest.cpp

Modified: clang-tools-extra/trunk/unittests/clang-tidy/ExprMutationAnalyzerTest.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clang-tidy/ExprMutationAnalyzerTest.cpp?rev=335845&r1=335844&r2=335845&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clang-tidy/ExprMutationAnalyzerTest.cpp (original)
+++ clang-tools-extra/trunk/unittests/clang-tidy/ExprMutationAnalyzerTest.cpp Thu Jun 28 05:15:17 2018
@@ -579,10 +579,9 @@ TEST(ExprMutationAnalyzerTest, Unevaluat
   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
   EXPECT_FALSE(isMutated(Results, AST.get()));
 
-  AST = 
-    tooling::buildASTFromCodeWithArgs("namespace std { class type_info; }"
-				      "void f() { int x; typeid(x = 10); }",
-				      std::vector<std::string> ({"-frtti"}));
+  AST = tooling::buildASTFromCodeWithArgs("namespace std { class type_info; }"
+                                          "void f() { int x; typeid(x = 10); }",
+                                          std::vector<std::string>({"-frtti"}));
   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
   EXPECT_FALSE(isMutated(Results, AST.get()));
 
@@ -602,7 +601,7 @@ TEST(ExprMutationAnalyzerTest, NotUneval
       "namespace std { class type_info; }"
       "struct A { virtual ~A(); }; struct B : A {};"
       "struct X { A& f(); }; void f() { X x; typeid(x.f()); }",
-      std::vector<std::string> ({"-frtti"}));
+      std::vector<std::string>({"-frtti"}));
   Results = match(withEnclosingCompound(declRefTo("x")), AST->getASTContext());
   EXPECT_THAT(mutatedBy(Results, AST.get()), ElementsAre("x.f()"));
 }




More information about the cfe-commits mailing list