Skip to content

Commit ae5813c

Browse files
MMoryfabianbs96
andauthored
Update lib/PhasarLLVM/ControlFlow/LLVMBasedICFG.cpp
Co-authored-by: fabianbs96 <52407375+fabianbs96@users.noreply.github.com>
1 parent 336c931 commit ae5813c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/PhasarLLVM/ControlFlow/LLVMBasedICFG.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,8 +1272,7 @@ unsigned LLVMBasedICFG::getNumOfEdges() const {
12721272

12731273
const llvm::Function *
12741274
LLVMBasedICFG::getRegisteredDtorsCallerOrNull(const llvm::Module *Mod) {
1275-
auto It = GlobalRegisteredDtorsCaller.find(Mod);
1276-
if (It != GlobalRegisteredDtorsCaller.end()) {
1275+
if (auto It = GlobalRegisteredDtorsCaller.find(Mod); It != GlobalRegisteredDtorsCaller.end()) {
12771276
return It->second;
12781277
}
12791278

0 commit comments

Comments
 (0)