From 115ca08838ab8f29ec491185f55cc12aedafa15f Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi <geek4civic@gmail.com> Date: Fri, 10 Jul 2015 03:09:19 +0000 Subject: [PATCH] Revert test lines added in r241811, "[CodeCompletion] Don't crash on member inits of templated constructors.", for now. It doesn't pass for targeting MS mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241882 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Index/complete-ctor-inits.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/test/Index/complete-ctor-inits.cpp b/test/Index/complete-ctor-inits.cpp index 0870cb2f823..f50621466f1 100644 --- a/test/Index/complete-ctor-inits.cpp +++ b/test/Index/complete-ctor-inits.cpp @@ -17,18 +17,6 @@ struct Z : public X<int>, public Y { Z::Z() : ::X<int>(0), Virt(), b(), c() { } -struct PR23948 { - template<class size> PR23948() - : - {} - - template<class size> void invalid() - : - {} - - int a; -}; - // RUN: c-index-test -code-completion-at=%s:18:10 %s | FileCheck -check-prefix=CHECK-CC1 %s // CHECK-CC1: MemberRef:{TypedText a}{LeftParen (}{Placeholder args}{RightParen )} (35) // CHECK-CC1: MemberRef:{TypedText b}{LeftParen (}{Placeholder args}{RightParen )} (35) @@ -50,7 +38,3 @@ struct PR23948 { // CHECK-CC3: MemberRef:{TypedText c}{LeftParen (}{Placeholder args}{RightParen )} (7) // CHECK-CC3-NOT: NotImplemented:{TypedText Virt}{LeftParen (}{Placeholder args}{RightParen )} // CHECK-CC3: NotImplemented:{TypedText Y}{LeftParen (}{Placeholder args}{RightParen )} (35) - -// RUN: c-index-test -code-completion-at=%s:22:10 %s | FileCheck -check-prefix=CHECK-CC4 %s -// CHECK-CC4: MemberRef:{TypedText a}{LeftParen (}{Placeholder args}{RightParen )} (7) -// RUN: c-index-test -code-completion-at=%s:26:10 %s -- GitLab