[llvm] [RemoveDIs] Update syntax highlighting to include debug records (PR #93660)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Wed May 29 09:01:51 PDT 2024


================
@@ -34,7 +34,8 @@ patterns:
     captures:
       1:
         name: storage.type.llvm
-  - match: "\\badd\\b|\
+  - match: "(?<=\\s|^)#dbg_(assign|declare|label|value)\\b\
----------------
OCHyams wrote:

The other lines end `|\` - I assume this one should too?

Can you explain what `(?<=\\s|^)` is doing please for the uninitiated?

https://github.com/llvm/llvm-project/pull/93660


More information about the llvm-commits mailing list