Skip to content

Commit da5b8dd

Browse files
Apply reviews
1 parent fc7e7bf commit da5b8dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CIR/CodeGen/CIRGenCoroutine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ CIRGenFunction::emitCoroutineBody(const CoroutineBodyStmt &s) {
278278

279279
static bool memberCallExpressionCanThrow(const Expr *e) {
280280
if (const auto *ce = dyn_cast<CXXMemberCallExpr>(e))
281-
if (const FunctionProtoType *proto =
281+
if (const auto *proto =
282282
ce->getMethodDecl()->getType()->getAs<FunctionProtoType>())
283283
if (isNoexceptExceptionSpec(proto->getExceptionSpecType()) &&
284284
proto->canThrow() == CT_Cannot)

0 commit comments

Comments
 (0)