Skip to content

Conversation

@pcc
Copy link
Contributor

@pcc pcc commented Aug 1, 2025

No description provided.

Created using spr 1.3.6-beta.1
@github-actions
Copy link

github-actions bot commented Aug 1, 2025

⚠️ Python code formatter, darker found issues in your code. ⚠️

You can test this locally with the following command:
darker --check --diff -r origin/main...HEAD compiler-rt/test/pfp/lit.cfg.py

⚠️
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing origin/main to the base branch/commit you want to compare against.
⚠️

View the diff from darker here.
--- lit.cfg.py	2025-10-10 23:12:37.000000 +0000
+++ lit.cfg.py	2025-10-10 23:14:24.263104 +0000
@@ -20,11 +20,13 @@
     "-fexperimental-pointer-field-protection -fexperimental-pointer-field-protection-tagged"
 ]
 
 
 clang_pfp_cxxflags = config.cxx_mode_flags + clang_pfp_tagged_common_cflags
-clang_pfp_cxxflags = clang_pfp_cxxflags + ["-fuse-ld=lld --rtlib=compiler-rt --unwindlib=libunwind  -static-libgcc"]
+clang_pfp_cxxflags = clang_pfp_cxxflags + [
+    "-fuse-ld=lld --rtlib=compiler-rt --unwindlib=libunwind  -static-libgcc"
+]
 
 
 def build_invocation(compile_flags, with_lto=False):
     lto_flags = []
     if with_lto and config.lto_supported:
@@ -32,6 +34,8 @@
 
     return " " + " ".join([config.clang] + lto_flags + compile_flags) + " "
 
 
 config.substitutions.append(("%clangxx ", build_invocation(clang_cxxflags)))
-config.substitutions.append(("%clangxx_pfp ", build_invocation(clang_pfp_cxxflags, config.use_thinlto)))
+config.substitutions.append(
+    ("%clangxx_pfp ", build_invocation(clang_pfp_cxxflags, config.use_thinlto))
+)

@pcc
Copy link
Contributor Author

pcc commented Aug 1, 2025

Change originally by @qinkunbao

pcc pushed a commit to pcc/llvm-project that referenced this pull request Aug 1, 2025
Created using spr 1.3.6-beta.1
@github-actions
Copy link

github-actions bot commented Sep 5, 2025

⚠️ C/C++ code formatter, clang-format found issues in your code. ⚠️

You can test this locally with the following command:
git-clang-format --diff origin/main HEAD --extensions h,cpp -- compiler-rt/test/pfp/use-after-free-fixed.cpp compiler-rt/test/pfp/use-after-free.cpp compiler-rt/test/pfp/utils.h

⚠️
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing origin/main to the base branch/commit you want to compare against.
⚠️

View the diff from clang-format here.
diff --git a/compiler-rt/test/pfp/utils.h b/compiler-rt/test/pfp/utils.h
index 0e8a6e935..d1b32a3f0 100644
--- a/compiler-rt/test/pfp/utils.h
+++ b/compiler-rt/test/pfp/utils.h
@@ -64,4 +64,3 @@ static void crash_if_crash_tests_unsupported() {
   __builtin_trap();
 #endif
 }
-

Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

4 participants