github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r
4048c64306e23b622443bbe7293057a9b07a13bb...7faee31bc4bc0b1a9fd037a99f54856c84affc91
clang/utils/analyzer/exploded-graph-rewriter.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- exploded-graph-rewriter.py 2024-11-13 11:55:08.000000 +0000
+++ exploded-graph-rewriter.py 2024-11-13 12:00:11.807486 +0000
@@ -87,11 +87,13 @@
else None
)
elif self.kind == "BlockEntrance":
self.block_id = json_pp["block_id"]
elif self.kind == "PostInitializer":
- self.target = json_pp["field_decl"] if "field_decl" in json_pp
else json_pp["type"]
+ self.target = (
+ json_pp["field_decl"] if "field_decl" in json_pp else
json_pp["type"]
+ )
# A single expression acting as a key in a deserialized Environment.
class EnvironmentBindingKey:
def __init__(self, json_ek):
``````````
</details>
https://github.com/llvm/llvm-project/pull/116034
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits