Skip to content

Commit afb196c

Browse files
committed
[lldb] s/dyn_cast/isa in TypeSystemClang
1 parent 04f13da commit afb196c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,7 @@ void TypeSystemClang::CreateFunctionTemplateSpecializationInfo(
14761476
/// as `int I = 3`.
14771477
static bool TemplateParameterAllowsValue(NamedDecl *param,
14781478
const TemplateArgument &value) {
1479-
if (auto *type_param = llvm::dyn_cast<TemplateTypeParmDecl>(param)) {
1479+
if (llvm::isa<TemplateTypeParmDecl>(param)) {
14801480
// Compare the argument kind, i.e. ensure that <typename> != <int>.
14811481
if (value.getKind() != TemplateArgument::Type)
14821482
return false;

0 commit comments

Comments
 (0)