r226668 - Don't assume variable name.

Rafael Espindola rafael.espindola at gmail.com
Wed Jan 21 08:18:42 PST 2015


Author: rafael
Date: Wed Jan 21 10:18:42 2015
New Revision: 226668

URL: http://llvm.org/viewvc/llvm-project?rev=226668&view=rev
Log:
Don't assume variable name.

Should fix the test in -Asserts builds.

Modified:
    cfe/trunk/test/CodeGenCXX/vtable-pointer-initialization.cpp

Modified: cfe/trunk/test/CodeGenCXX/vtable-pointer-initialization.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/vtable-pointer-initialization.cpp?rev=226668&r1=226667&r2=226668&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/vtable-pointer-initialization.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/vtable-pointer-initialization.cpp Wed Jan 21 10:18:42 2015
@@ -45,7 +45,7 @@ void f() { B b; }
 // CHECK: call void @_ZN1BC2Ev(
 
 // CHECK-LABEL: define linkonce_odr void @_ZN1BD1Ev(%struct.B* %this) unnamed_addr
-// CHECK: call void @_ZN1BD2Ev(%struct.B* %this1)
+// CHECK: call void @_ZN1BD2Ev(
 
 // CHECK-LABEL: define linkonce_odr void @_ZN1BD2Ev(%struct.B* %this) unnamed_addr
 // CHECK: store i32 (...)** bitcast (i8** getelementptr inbounds ([3 x i8*]* @_ZTV1B, i64 0, i64 2) to i32 (...)**)





More information about the cfe-commits mailing list