[PATCH] D117416: [clang-format] Handle C variables with name that matches c++ access specifier

psigillito via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 24 18:57:33 PST 2022


psigillito updated this revision to Diff 402735.
psigillito added a comment.

undo arclint change


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117416/new/

https://reviews.llvm.org/D117416

Files:
  .arclint


Index: .arclint
===================================================================
--- /dev/null
+++ .arclint
@@ -0,0 +1,15 @@
+{
+  "linters": {
+    "clang-format": {
+      "type": "script-and-regex",
+      "script-and-regex.script": "bash utils/arcanist/clang-format.sh",
+      "script-and-regex.regex": "/^(?P<severity>[[:alpha:]]+)\n(?P<message>[^\n]+)\n(====|(?P<line>\\d),(?P<char>\\d)\n(?P<original>.*)>>>>\n(?P<replacement>.*)<<<<\n)$/s",
+      "include": [
+        "(\\.(cc|cpp|h)$)"
+      ],
+      "exclude": [
+        "(^clang/test/)"
+      ]
+    }
+  }
+}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117416.402735.patch
Type: text/x-patch
Size: 595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220125/38c6fe1e/attachment-0001.bin>


More information about the cfe-commits mailing list