Skip to content

Commit 436da81

Browse files
committed
Apply review suggestion
1 parent 6808628 commit 436da81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/utils/analyzer/exploded-graph-rewriter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def __init__(self, json_pp):
8787
else None
8888
)
8989
elif self.kind == "CallEnter":
90-
self.callee_decl = json_pp["callee_decl"] if "callee_decl" in json_pp else "None"
90+
self.callee_decl = json_pp.get("callee_decl", "None")
9191
elif self.kind == "BlockEntrance":
9292
self.block_id = json_pp["block_id"]
9393

0 commit comments

Comments
 (0)