diff options
author | Francois Pichet <pichet2000@gmail.com> | 2011-06-03 07:35:49 +0000 |
---|---|---|
committer | Francois Pichet <pichet2000@gmail.com> | 2011-06-03 07:35:49 +0000 |
commit | 3f0556d8fb5f792e19cc79055a19fc7a0830533a (patch) | |
tree | 6e149599db7734ad19cf730039e566400c5704d2 /lib/Sema/SemaDecl.cpp | |
parent | 929f0135ab60166202f52e0dd19835c0490d792a (diff) |
Correctly revert r131347: function explicit specialization at class scope.
I'll try to implement this functionality again soon.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index d77bda7676..5de1838b9f 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -4587,7 +4587,7 @@ Sema::ActOnFunctionDeclarator(Scope* S, Declarator& D, DeclContext* DC, NewFD->setInvalidDecl(); } else if (isFunctionTemplateSpecialization) { if (CurContext->isDependentContext() && CurContext->isRecord() - && !isFriend && !getLangOptions().Microsoft) { + && !isFriend) { Diag(NewFD->getLocation(), diag::err_function_specialization_in_class) << NewFD->getDeclName(); NewFD->setInvalidDecl(); |