r191648 - SemaTemplateDeduction.cpp: Suppress a warning. [-Wunused-variable]
NAKAMURA Takumi
geek4civic at gmail.com
Sun Sep 29 17:14:28 PDT 2013
Author: chapuni
Date: Sun Sep 29 19:14:27 2013
New Revision: 191648
URL: http://llvm.org/viewvc/llvm-project?rev=191648&view=rev
Log:
SemaTemplateDeduction.cpp: Suppress a warning. [-Wunused-variable]
Modified:
cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp
Modified: cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp?rev=191648&r1=191647&r2=191648&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp (original)
+++ cfe/trunk/lib/Sema/SemaTemplateDeduction.cpp Sun Sep 29 19:14:27 2013
@@ -3806,7 +3806,7 @@ Sema::DeduceTemplateArguments(FunctionTe
FunctionTemplateDecl *InvokerTemplate = LambdaClass->
getLambdaStaticInvoker()->getDescribedFunctionTemplate();
- TemplateDeductionResult Result
+ TemplateDeductionResult LLVM_ATTRIBUTE_UNUSED Result
= FinishTemplateArgumentDeduction(InvokerTemplate, Deduced, 0,
InvokerSpecialization, Info);
assert(Result == TDK_Success);
More information about the cfe-commits
mailing list