diff options
author | Larisse Voufo <lvoufo@google.com> | 2013-08-06 03:43:07 +0000 |
---|---|---|
committer | Larisse Voufo <lvoufo@google.com> | 2013-08-06 03:43:07 +0000 |
commit | 21de36ba6656db23c97de8989f0c26ed52204395 (patch) | |
tree | ad23d18be0bb427fc8cd8c7a4cf78c6acf28cab9 /clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | |
parent | cecdabb0bf4cad972e425e481d405580b08a8545 (diff) | |
download | bcm5719-llvm-21de36ba6656db23c97de8989f0c26ed52204395.tar.gz bcm5719-llvm-21de36ba6656db23c97de8989f0c26ed52204395.zip |
Moved diagnosis of forward declarations of variable templates from Parser to Sema.
llvm-svn: 187768
Diffstat (limited to 'clang/lib/Sema/SemaTemplateInstantiateDecl.cpp')
-rw-r--r-- | clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp b/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp index 0ca6611c358..b93fe9a966a 100644 --- a/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp +++ b/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp @@ -3461,7 +3461,6 @@ void Sema::InstantiateVariableDefinition(SourceLocation PointOfInstantiation, VarSpec->getTemplateArgsInfo(), InstantiationDependent) && "Only instantiate variable template specializations that are " "not type-dependent"); - (void)InstantiationDependent; // Find the variable initialization that we'll be substituting. assert(VarSpec->getSpecializedTemplate() && |