From e3521694202168bf5e1b31538b58a2bb2bc792f0 Mon Sep 17 00:00:00 2001 From: Alessandro Di Federico Date: Fri, 3 Apr 2026 18:06:54 +0200 Subject: [PATCH] check-conventions: ignore all raw C++ strings Before, we were just ignoring `R"LLVM(`. --- libexec/revng/check-conventions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/revng/check-conventions b/libexec/revng/check-conventions index 16312c450..a5fc8b36d 100755 --- a/libexec/revng/check-conventions +++ b/libexec/revng/check-conventions @@ -522,7 +522,7 @@ class CPPCheckPass(TaggedPass): @staticmethod def parethesis_matcher(path: Path, line: str) -> List[re.Match]: - if re.search(r"R\"LLVM.*\($", line): + if re.search(r"R\"[^ (]*\($", line): return [] main_match = re.search(r"\($", line) return [main_match] if main_match else []