From d46aa50622a298f66fba30f3f1b7682ff2ece013 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Tue, 21 Jul 2009 21:06:08 +0000 Subject: [PATCH] Prep for new warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76643 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Index/cxx-operator-overload.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/Index/cxx-operator-overload.cpp b/test/Index/cxx-operator-overload.cpp index ffea76662d..8f12f1661f 100644 --- a/test/Index/cxx-operator-overload.cpp +++ b/test/Index/cxx-operator-overload.cpp @@ -10,8 +10,7 @@ static void bar() { Cls x4 = x1 + x2 + x3; } -Cls Cls::operator +(const Cls &RHS) { -} +Cls Cls::operator +(const Cls &RHS) { while (1) {} } // RUN: clang-cc -emit-pch %s -o %t.ast && -- 2.50.1