check-conventions: ignore all raw C++ strings

Before, we were just ignoring `R"LLVM(`.
This commit is contained in:
Alessandro Di Federico
2026-04-03 18:06:54 +02:00
parent 58ab09b107
commit e352169420
+1 -1
View File
@@ -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 []