[clang] af2f5f9 - Remove unused variable name. NFC.
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 27 17:49:06 PDT 2020
Author: Richard Smith
Date: 2020-10-27T17:48:50-07:00
New Revision: af2f5f99bd144ae2f70e21d53b23fc18a3d9d7d0
URL: https://github.com/llvm/llvm-project/commit/af2f5f99bd144ae2f70e21d53b23fc18a3d9d7d0
DIFF: https://github.com/llvm/llvm-project/commit/af2f5f99bd144ae2f70e21d53b23fc18a3d9d7d0.diff
LOG: Remove unused variable name. NFC.
Added:
Modified:
clang/lib/Sema/SemaTemplate.cpp
Removed:
################################################################################
diff --git a/clang/lib/Sema/SemaTemplate.cpp b/clang/lib/Sema/SemaTemplate.cpp
index d23ad9f7d91d..bd38e6404b60 100644
--- a/clang/lib/Sema/SemaTemplate.cpp
+++ b/clang/lib/Sema/SemaTemplate.cpp
@@ -6832,7 +6832,7 @@ ExprResult Sema::CheckTemplateArgument(NonTypeTemplateParmDecl *Param,
DeductionArg = PE->getPattern();
TypeSourceInfo *TSI =
Context.getTrivialTypeSourceInfo(ParamType, Param->getLocation());
- if (auto *DTST = dyn_cast<DeducedTemplateSpecializationType>(DeducedT)) {
+ if (isa<DeducedTemplateSpecializationType>(DeducedT)) {
InitializedEntity Entity =
InitializedEntity::InitializeTemplateParameter(ParamType, Param);
InitializationKind Kind = InitializationKind::CreateForInit(
More information about the cfe-commits
mailing list