aboutsummaryrefslogtreecommitdiffhomepage
path: root/.clang-format
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-05-04 18:08:26 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-05-04 18:08:26 -0700
commitd4b5620bb33c1ccce693a0dff93da8713e87f4d8 (patch)
tree7426721ca073a12cde71e64f756eb3447b739349 /.clang-format
parent4246cfa95c516afe11d27ee7f5890f4f86d5f671 (diff)
config clang-format to ignore oclint pragmas
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format2
1 files changed, 2 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index d154da60..c540053d 100644
--- a/.clang-format
+++ b/.clang-format
@@ -6,3 +6,5 @@
BasedOnStyle: Google
ColumnLimit: 100
IndentWidth: 4
+# We don't want OCLint pragmas to be reformatted.
+CommentPragmas: '^!OCLINT'