summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/Decl.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2010-05-06 05:28:42 +0000
committerChandler Carruth <chandlerc@gmail.com>2010-05-06 05:28:42 +0000
commit2998b5458dda550ca77ccbc9c0969f81ba715e32 (patch)
tree045abeeb4b3e3331a6ecb9df9488e17f3a746af2 /clang/lib/AST/Decl.cpp
parent41e9f776285a934a8c0c377986e6c483ff445bd7 (diff)
downloadbcm5719-llvm-2998b5458dda550ca77ccbc9c0969f81ba715e32.tar.gz
bcm5719-llvm-2998b5458dda550ca77ccbc9c0969f81ba715e32.zip
Mark a variable as used in the absence of asserts to silence a GCC warning.
llvm-svn: 103165
Diffstat (limited to 'clang/lib/AST/Decl.cpp')
-rw-r--r--clang/lib/AST/Decl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/Decl.cpp b/clang/lib/AST/Decl.cpp
index ffe49671d8a..e19a9fb7c22 100644
--- a/clang/lib/AST/Decl.cpp
+++ b/clang/lib/AST/Decl.cpp
@@ -1509,6 +1509,7 @@ void TagDecl::completeDefinition() {
TypeForDecl->getAs<InjectedClassNameType>())) {
assert(Injected->Decl == this &&
"Attempt to redefine a class template definition?");
+ (void)Injected;
}
}
OpenPOWER on IntegriCloud