[llvm] r303489 - Fix test typo. NFC

Xin Tong via llvm-commits llvm-commits at lists.llvm.org
Sat May 20 12:40:30 PDT 2017


Author: trentxintong
Date: Sat May 20 14:40:24 2017
New Revision: 303489

URL: http://llvm.org/viewvc/llvm-project?rev=303489&view=rev
Log:
Fix test typo. NFC

Modified:
    llvm/trunk/unittests/IR/DominatorTreeTest.cpp

Modified: llvm/trunk/unittests/IR/DominatorTreeTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/IR/DominatorTreeTest.cpp?rev=303489&r1=303488&r2=303489&view=diff
==============================================================================
--- llvm/trunk/unittests/IR/DominatorTreeTest.cpp (original)
+++ llvm/trunk/unittests/IR/DominatorTreeTest.cpp Sat May 20 14:40:24 2017
@@ -226,7 +226,7 @@ namespace llvm {
     char DPass::ID = 0;
 
     std::unique_ptr<Module> makeLLVMModule(LLVMContext &Context, DPass *P) {
-      const char *ModuleStrig =
+      const char *ModuleString =
         "declare i32 @g()\n" \
         "define void @f(i32 %x) personality i32 ()* @g {\n" \
         "bb0:\n" \
@@ -250,7 +250,7 @@ namespace llvm {
         "  ret void\n" \
         "}\n";
       SMDiagnostic Err;
-      return parseAssemblyString(ModuleStrig, Err, Context);
+      return parseAssemblyString(ModuleString, Err, Context);
     }
 
     TEST(DominatorTree, Unreachable) {




More information about the llvm-commits mailing list