Skip to content

Commit

Permalink
[lldb] s/dyn_cast/isa in TypeSystemClang
Browse files Browse the repository at this point in the history
  • Loading branch information
labath committed Jan 18, 2022
1 parent 04f13da commit afb196c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1476,7 +1476,7 @@ void TypeSystemClang::CreateFunctionTemplateSpecializationInfo(
/// as `int I = 3`.
static bool TemplateParameterAllowsValue(NamedDecl *param,
const TemplateArgument &value) {
if (auto *type_param = llvm::dyn_cast<TemplateTypeParmDecl>(param)) {
if (llvm::isa<TemplateTypeParmDecl>(param)) {
// Compare the argument kind, i.e. ensure that <typename> != <int>.
if (value.getKind() != TemplateArgument::Type)
return false;
Expand Down

0 comments on commit afb196c

Please sign in to comment.