From a981c7d79ef7d7d6ec1d61d391d3ed09fac8e822 Mon Sep 17 00:00:00 2001 From: Alex Lorenz Date: Tue, 11 Apr 2017 16:46:03 +0000 Subject: [ASTPrinter] Print nested name specifiers for out-of-line functions rdar://31501863 llvm-svn: 299962 --- clang/test/Index/comment-cplus-decls.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'clang/test/Index/comment-cplus-decls.cpp') diff --git a/clang/test/Index/comment-cplus-decls.cpp b/clang/test/Index/comment-cplus-decls.cpp index 463aa9e7929..6e32c60a222 100644 --- a/clang/test/Index/comment-cplus-decls.cpp +++ b/clang/test/Index/comment-cplus-decls.cpp @@ -102,7 +102,7 @@ namespace test0 { friend void ns::f(int a); }; } -// CHECK: friend void f(int a) +// CHECK: friend void ns::f(int a) namespace test1 { template struct Outer { @@ -115,7 +115,7 @@ namespace test1 { }; }; } -// CHECK: friend void foo(T) +// CHECK: friend void Outer<T>::foo(T) namespace test2 { namespace foo { @@ -129,7 +129,7 @@ namespace test2 { friend void ::test2::foo::Func(int x); }; } -// CHECK: friend void Func(int x) +// CHECK: friend void ::test2::foo::Func(int x) namespace test3 { template class vector { @@ -149,7 +149,7 @@ namespace test3 { }; } // CHECK: void f(const T &t = T()) -// CHECK: friend void f(const test3::A &) +// CHECK: friend void vector<A>::f(const test3::A &) class MyClass { -- cgit v1.2.3