summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/recovery-crash.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2012-06-22 16:39:39 +0000
committerNico Weber <nicolasweber@gmx.de>2012-06-22 16:39:39 +0000
commit3c10fb1d8e308c5c55c03ab9260cd76b9af59025 (patch)
tree57cd578f3147339375a45d0a609da8db3654c8fb /clang/test/SemaTemplate/recovery-crash.cpp
parentc5c4e96f3e9616bcb8900a2710c92ccc0e2cfe7c (diff)
downloadbcm5719-llvm-3c10fb1d8e308c5c55c03ab9260cd76b9af59025.tar.gz
bcm5719-llvm-3c10fb1d8e308c5c55c03ab9260cd76b9af59025.zip
Show fixit for unqualified calls to methods of dependent bases
when the calling site is a member function template. Effectively reverts r111675. llvm-svn: 159004
Diffstat (limited to 'clang/test/SemaTemplate/recovery-crash.cpp')
-rw-r--r--clang/test/SemaTemplate/recovery-crash.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/SemaTemplate/recovery-crash.cpp b/clang/test/SemaTemplate/recovery-crash.cpp
index 0ed3258b683..61e880bf5b0 100644
--- a/clang/test/SemaTemplate/recovery-crash.cpp
+++ b/clang/test/SemaTemplate/recovery-crash.cpp
@@ -1,7 +1,6 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
-// We don't expect a fix-it to be applied in this case. Clang used to crash
-// trying to recover while adding 'this->' before Work(x);
+// Clang used to crash trying to recover while adding 'this->' before Work(x);
template <typename> struct A {
static void Work(int); // expected-note{{must qualify identifier}}
OpenPOWER on IntegriCloud