From d7432dfb0a01759e97840b8bbfb686eef2638bbd Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Mon, 12 Oct 2009 19:41:04 +0000 Subject: Factor out devirtualization checking into a separate function and make it handle references correctly. llvm-svn: 83880 --- clang/test/CodeGenCXX/virtual-function-calls.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'clang/test/CodeGenCXX/virtual-function-calls.cpp') diff --git a/clang/test/CodeGenCXX/virtual-function-calls.cpp b/clang/test/CodeGenCXX/virtual-function-calls.cpp index 34ab1df6896..d27a7c9bfc0 100644 --- a/clang/test/CodeGenCXX/virtual-function-calls.cpp +++ b/clang/test/CodeGenCXX/virtual-function-calls.cpp @@ -8,10 +8,3 @@ struct A { void f(A *a) { a->f('c'); } - -void f(A a) { - // This should not be a virtual function call. - - // CHECK: call void @_ZN1A1fEc - a.f('c'); -} \ No newline at end of file -- cgit v1.2.3