Skip to content

Commit 1e2ca23

Browse files
committed
fixup! revert NFC change
1 parent 6ea0f3f commit 1e2ca23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/CGDebugInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ static bool IsDecomposedVarDecl(VarDecl const *VD) {
9292
if (!RefExpr)
9393
return false;
9494

95-
return llvm::isa_and_nonnull<DecompositionDecl>(RefExpr->getDecl());
95+
return llvm::dyn_cast_or_null<DecompositionDecl>(RefExpr->getDecl());
9696
}
9797

9898
/// Returns true if \ref VD is a compiler-generated variable

0 commit comments

Comments
 (0)