We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04f13da commit afb196cCopy full SHA for afb196c
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
@@ -1476,7 +1476,7 @@ void TypeSystemClang::CreateFunctionTemplateSpecializationInfo(
1476
/// as `int I = 3`.
1477
static bool TemplateParameterAllowsValue(NamedDecl *param,
1478
const TemplateArgument &value) {
1479
- if (auto *type_param = llvm::dyn_cast<TemplateTypeParmDecl>(param)) {
+ if (llvm::isa<TemplateTypeParmDecl>(param)) {
1480
// Compare the argument kind, i.e. ensure that <typename> != <int>.
1481
if (value.getKind() != TemplateArgument::Type)
1482
return false;
0 commit comments