Skip to content

Commit f222293

Browse files
committed
Update the PR for the latest main
1 parent 9d3e26d commit f222293

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -667,10 +667,7 @@ class TrivialFunctionAnalysisVisitor
667667
}
668668

669669
bool VisitGCCAsmStmt(const GCCAsmStmt *AS) {
670-
auto *Asm = AS->getAsmString();
671-
if (!Asm)
672-
return false;
673-
return Asm->getString() == "brk #0xc471";
670+
return AS->getAsmString() == "brk #0xc471";
674671
}
675672

676673
bool

0 commit comments

Comments
 (0)