summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2015-07-16 20:51:45 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-17 03:52:30 +0000
commit0941e7d8d20c708973a0742aa2579046c05c5be0 (patch)
tree9e421d989f09ddb8bd8cbbb6fb9569ed408aedd4 /.clang-format
parent6c937646c650fdded550560a6d443a7dae846819 (diff)
downloadchromium_src-0941e7d8d20c708973a0742aa2579046c05c5be0.zip
chromium_src-0941e7d8d20c708973a0742aa2579046c05c5be0.tar.gz
chromium_src-0941e7d8d20c708973a0742aa2579046c05c5be0.tar.bz2
Add more macros to .clang-format's MacroBlock{Begin,End} options.
The number of macros is too damn high! BUG=373340 TBR=darin@chromium.org Review URL: https://codereview.chromium.org/1235153009 Cr-Commit-Position: refs/heads/master@{#339216}
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format10
1 files changed, 8 insertions, 2 deletions
diff --git a/.clang-format b/.clang-format
index 27c1b2c..f97f1bb 100644
--- a/.clang-format
+++ b/.clang-format
@@ -18,12 +18,18 @@ BEGIN_SAFE_MSG_MAP_EX|\
CR_BEGIN_MSG_MAP_EX|\
IPC_BEGIN_MESSAGE_MAP|\
IPC_BEGIN_MESSAGE_MAP_WITH_PARAM|\
+IPC_PROTOBUF_MESSAGE_TRAITS_BEGIN|\
IPC_STRUCT_BEGIN|\
IPC_STRUCT_BEGIN_WITH_PARENT|\
-IPC_STRUCT_TRAITS_BEGIN$"
+IPC_STRUCT_TRAITS_BEGIN|\
+POLPARAMS_BEGIN|\
+PPAPI_BEGIN_MESSAGE_MAP$"
MacroBlockEnd: "^\
CR_END_MSG_MAP|\
END_MSG_MAP|\
IPC_END_MESSAGE_MAP|\
+IPC_PROTOBUF_MESSAGE_TRAITS_END|\
IPC_STRUCT_END|\
-IPC_STRUCT_TRAITS_END$"
+IPC_STRUCT_TRAITS_END|\
+POLPARAMS_END|\
+PPAPI_END_MESSAGE_MAP$"