@@ -55,7 +55,7 @@ def run_test_once(args, extra_args):
# themselves. We need to keep the comments to preserve line numbers while
# avoiding empty lines which could potentially trigger formatting-related
# checks.
-cleaned_test = re.sub("// *CHECK-[A-Z0-9\-]*:[^
https://github.com/NagyDonat commented:
The change in `clang/test/Analysis/check-analyzer-fixit.py` is a good step
forward, it indeed fixes an invalid escape sequence[1].
However, I don't see any reason for the changes in
`clang/docs/tools/dump_ast_matchers.py`: those were raw strings, so ther
https://github.com/NagyDonat edited
https://github.com/llvm/llvm-project/pull/94029
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
NagyDonat wrote:
> to me it seemed like the `r"..."` strings are supposed to be used for regular
> expressions, and in this change you appear to transform those strings into
> plain old strings. Could you help me understand this?
In Python the `r` string prefix stands for a _raw_ string litera
steakhal wrote:
Hi, could you explain the motivation of this patch?
I'm not an expert on Python, but to me it seemed like the `r"..."` strings are
supposed to be used for regular expressions, and in this change you appear to
transform those strings into plain old strings.
Could you help me unde
https://github.com/e-kwsm updated
https://github.com/llvm/llvm-project/pull/94029
>From a1256602c10df2beb7b244a75e75c22b7203ea02 Mon Sep 17 00:00:00 2001
From: Eisuke Kawashima
Date: Sat, 11 May 2024 02:39:21 +0900
Subject: [PATCH] fix(clang/**.py): fix invalid escape sequences
---
clang/docs
https://github.com/e-kwsm updated
https://github.com/llvm/llvm-project/pull/94029
>From 6f595ed1b04efa15b0085ae212f847163a131f17 Mon Sep 17 00:00:00 2001
From: Eisuke Kawashima
Date: Sat, 11 May 2024 02:39:21 +0900
Subject: [PATCH] fix(clang/**.py): fix invalid escape sequences
---
clang/docs
https://github.com/e-kwsm updated
https://github.com/llvm/llvm-project/pull/94029
>From 511dda8045630f775d96805510f730aebbfc3680 Mon Sep 17 00:00:00 2001
From: Eisuke Kawashima
Date: Sat, 11 May 2024 02:39:21 +0900
Subject: [PATCH] fix(clang/**.py): fix invalid escape sequences
---
clang/docs
https://github.com/e-kwsm updated
https://github.com/llvm/llvm-project/pull/94029
>From e6ea87dd5ed5a2484f9526fe5b72c87178582a0e Mon Sep 17 00:00:00 2001
From: Eisuke Kawashima
Date: Sat, 11 May 2024 02:39:21 +0900
Subject: [PATCH] fix(clang/**.py): fix invalid escape sequences
---
clang/docs
https://github.com/e-kwsm updated
https://github.com/llvm/llvm-project/pull/94029
>From 93cb19e83e2b547f0a047a7f93ade40ffc4391c0 Mon Sep 17 00:00:00 2001
From: Eisuke Kawashima
Date: Sat, 11 May 2024 02:39:21 +0900
Subject: [PATCH] fix(clang/**.py): fix invalid escape sequences
---
clang/docs
https://github.com/e-kwsm updated
https://github.com/llvm/llvm-project/pull/94029
>From 8ebfa30beff75a80601ae88c878beffe31a3f310 Mon Sep 17 00:00:00 2001
From: Eisuke Kawashima
Date: Sat, 11 May 2024 02:39:21 +0900
Subject: [PATCH] fix(clang/**.py): fix invalid escape sequences
---
clang/docs
https://github.com/e-kwsm updated
https://github.com/llvm/llvm-project/pull/94029
>From 3d9fa04f2b42030f27eb6e21a6e238c8a6a74b20 Mon Sep 17 00:00:00 2001
From: Eisuke Kawashima
Date: Sat, 11 May 2024 02:39:21 +0900
Subject: [PATCH] fix(clang/**.py): fix invalid escape sequences
---
clang/docs
https://github.com/e-kwsm updated
https://github.com/llvm/llvm-project/pull/94029
>From 1358b29f145d83dc315f3209cf2e9f290cfb8e4c Mon Sep 17 00:00:00 2001
From: Eisuke Kawashima
Date: Sat, 11 May 2024 02:39:21 +0900
Subject: [PATCH] fix(clang/**.py): fix invalid escape sequences
---
clang/docs
https://github.com/e-kwsm updated
https://github.com/llvm/llvm-project/pull/94029
>From 5ad3e5603357698d08a66c7a7c92d198a3c24789 Mon Sep 17 00:00:00 2001
From: Eisuke Kawashima
Date: Sat, 11 May 2024 02:39:21 +0900
Subject: [PATCH] fix(clang/**.py): fix invalid escape sequences
---
clang/docs
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Eisuke Kawashima (e-kwsm)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/94029.diff
2 Files Affected:
- (modified) clang/docs/tools/dump_ast_matchers.py (+5-5)
- (modified) clang/test/Analysis/check-analyzer-fixit.py
github-actions[bot] wrote:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be
notified.
If you wish to, you can add reviewers by using the "Reviewers" section on this
page.
If this is not working for you, it
https://github.com/e-kwsm created
https://github.com/llvm/llvm-project/pull/94029
None
>From 38272898d77ffd64215fbdbdaa7041d2d5e6016b Mon Sep 17 00:00:00 2001
From: Eisuke Kawashima
Date: Sat, 11 May 2024 02:39:21 +0900
Subject: [PATCH] fix(clang/**.py): fix invalid escape sequences
---
clan
17 matches
Mail list logo