1# Defines the Chromium style for automatic reformatting. 2# http://clang.llvm.org/docs/ClangFormatStyleOptions.html 3BasedOnStyle: Chromium 4# This defaults to 'Auto'. Explicitly set it for a while, so that 5# 'vector<vector<int> >' in existing files gets formatted to 6# 'vector<vector<int>>'. ('Auto' means that clang-format will only use 7# 'int>>' if the file already contains at least one such instance.) 8Standard: Cpp11 9 10# Make sure code like: 11# IPC_BEGIN_MESSAGE_MAP() 12# IPC_MESSAGE_HANDLER(WidgetHostViewHost_Update, OnUpdate) 13# IPC_END_MESSAGE_MAP() 14# gets correctly indented. 15MacroBlockBegin: "^\ 16BEGIN_MSG_MAP|\ 17BEGIN_MSG_MAP_EX|\ 18BEGIN_SAFE_MSG_MAP_EX|\ 19CR_BEGIN_MSG_MAP_EX|\ 20IPC_BEGIN_MESSAGE_MAP|\ 21IPC_BEGIN_MESSAGE_MAP_WITH_PARAM|\ 22IPC_PROTOBUF_MESSAGE_TRAITS_BEGIN|\ 23IPC_STRUCT_BEGIN|\ 24IPC_STRUCT_BEGIN_WITH_PARENT|\ 25IPC_STRUCT_TRAITS_BEGIN|\ 26POLPARAMS_BEGIN|\ 27PPAPI_BEGIN_MESSAGE_MAP$" 28MacroBlockEnd: "^\ 29CR_END_MSG_MAP|\ 30END_MSG_MAP|\ 31IPC_END_MESSAGE_MAP|\ 32IPC_PROTOBUF_MESSAGE_TRAITS_END|\ 33IPC_STRUCT_END|\ 34IPC_STRUCT_TRAITS_END|\ 35POLPARAMS_END|\ 36PPAPI_END_MESSAGE_MAP$" 37