From 0941e7d8d20c708973a0742aa2579046c05c5be0 Mon Sep 17 00:00:00 2001 From: dcheng Date: Thu, 16 Jul 2015 20:51:45 -0700 Subject: 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} --- .clang-format | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to '.clang-format') 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$" -- cgit v1.1