summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/extern-templates.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-10-07 23:56:10 +0000
committerDouglas Gregor <dgregor@apple.com>2009-10-07 23:56:10 +0000
commitd801b06232cd252c00e25363fbfcc2a74896b6e9 (patch)
treeb30fb8f0d4cfbe10af1d4db6f3124dbe45885b2a /clang/test/SemaTemplate/extern-templates.cpp
parent32cc4ec304a112344a006ff35f01657dda1f5aa3 (diff)
downloadbcm5719-llvm-d801b06232cd252c00e25363fbfcc2a74896b6e9.tar.gz
bcm5719-llvm-d801b06232cd252c00e25363fbfcc2a74896b6e9.zip
Keep track of whether a member function instantiated from a member
function of a class template was implicitly instantiated, explicitly instantiated (declaration or definition), or explicitly specialized. The same MemberSpecializationInfo structure will be used for static data members and member classes as well. llvm-svn: 83509
Diffstat (limited to 'clang/test/SemaTemplate/extern-templates.cpp')
-rw-r--r--clang/test/SemaTemplate/extern-templates.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaTemplate/extern-templates.cpp b/clang/test/SemaTemplate/extern-templates.cpp
index 6bdf283391f..7154c7e32f9 100644
--- a/clang/test/SemaTemplate/extern-templates.cpp
+++ b/clang/test/SemaTemplate/extern-templates.cpp
@@ -31,11 +31,11 @@ void test_intptr(X0<int*> xi, X0<int*>::Inner xii) {
// FIXME: we would like the notes to point to the explicit instantiation at the
// bottom.
-extern template class X0<long*>; // expected-note{{instantiation}}
+extern template class X0<long*>; // expected-note 2{{instantiation}}
void test_longptr(X0<long*> xl, X0<long*>::Inner xli) {
xl.f(0);
- xli.g(0); // expected-note{{instantiation}}
+ xli.g(0);
}
template class X0<long*>;
OpenPOWER on IntegriCloud