summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-08-06 03:28:54 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-08-06 03:28:54 +0000
commit8c2d367dcd3c5bd426bbfe3ca9ff0785f22cbe67 (patch)
tree4ad315c1e65f3bf8498619afebc4df6b23ae6cde /clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
parentaa664d9b923ca70407911fffff00d2c4681703a3 (diff)
downloadbcm5719-llvm-8c2d367dcd3c5bd426bbfe3ca9ff0785f22cbe67.tar.gz
bcm5719-llvm-8c2d367dcd3c5bd426bbfe3ca9ff0785f22cbe67.zip
SemaTemplateInstantiateDecl.cpp: Suppress a warning. [-Wunused-variable]
llvm-svn: 187765
Diffstat (limited to 'clang/lib/Sema/SemaTemplateInstantiateDecl.cpp')
-rw-r--r--clang/lib/Sema/SemaTemplateInstantiateDecl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp b/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
index b93fe9a966a..0ca6611c358 100644
--- a/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
+++ b/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
@@ -3461,6 +3461,7 @@ 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() &&
OpenPOWER on IntegriCloud