11cb0ef41Sopenharmony_ci# Defines the Chromium style for automatic reformatting. 21cb0ef41Sopenharmony_ci# http://clang.llvm.org/docs/ClangFormatStyleOptions.html 31cb0ef41Sopenharmony_ciBasedOnStyle: Chromium 41cb0ef41Sopenharmony_ci# This defaults to 'Auto'. Explicitly set it for a while, so that 51cb0ef41Sopenharmony_ci# 'vector<vector<int> >' in existing files gets formatted to 61cb0ef41Sopenharmony_ci# 'vector<vector<int>>'. ('Auto' means that clang-format will only use 71cb0ef41Sopenharmony_ci# 'int>>' if the file already contains at least one such instance.) 81cb0ef41Sopenharmony_ciStandard: Cpp11 91cb0ef41Sopenharmony_ci 101cb0ef41Sopenharmony_ci# Make sure code like: 111cb0ef41Sopenharmony_ci# IPC_BEGIN_MESSAGE_MAP() 121cb0ef41Sopenharmony_ci# IPC_MESSAGE_HANDLER(WidgetHostViewHost_Update, OnUpdate) 131cb0ef41Sopenharmony_ci# IPC_END_MESSAGE_MAP() 141cb0ef41Sopenharmony_ci# gets correctly indented. 151cb0ef41Sopenharmony_ciMacroBlockBegin: "^\ 161cb0ef41Sopenharmony_ciBEGIN_MSG_MAP|\ 171cb0ef41Sopenharmony_ciBEGIN_MSG_MAP_EX|\ 181cb0ef41Sopenharmony_ciBEGIN_SAFE_MSG_MAP_EX|\ 191cb0ef41Sopenharmony_ciCR_BEGIN_MSG_MAP_EX|\ 201cb0ef41Sopenharmony_ciIPC_BEGIN_MESSAGE_MAP|\ 211cb0ef41Sopenharmony_ciIPC_BEGIN_MESSAGE_MAP_WITH_PARAM|\ 221cb0ef41Sopenharmony_ciIPC_PROTOBUF_MESSAGE_TRAITS_BEGIN|\ 231cb0ef41Sopenharmony_ciIPC_STRUCT_BEGIN|\ 241cb0ef41Sopenharmony_ciIPC_STRUCT_BEGIN_WITH_PARENT|\ 251cb0ef41Sopenharmony_ciIPC_STRUCT_TRAITS_BEGIN|\ 261cb0ef41Sopenharmony_ciPOLPARAMS_BEGIN|\ 271cb0ef41Sopenharmony_ciPPAPI_BEGIN_MESSAGE_MAP$" 281cb0ef41Sopenharmony_ciMacroBlockEnd: "^\ 291cb0ef41Sopenharmony_ciCR_END_MSG_MAP|\ 301cb0ef41Sopenharmony_ciEND_MSG_MAP|\ 311cb0ef41Sopenharmony_ciIPC_END_MESSAGE_MAP|\ 321cb0ef41Sopenharmony_ciIPC_PROTOBUF_MESSAGE_TRAITS_END|\ 331cb0ef41Sopenharmony_ciIPC_STRUCT_END|\ 341cb0ef41Sopenharmony_ciIPC_STRUCT_TRAITS_END|\ 351cb0ef41Sopenharmony_ciPOLPARAMS_END|\ 361cb0ef41Sopenharmony_ciPPAPI_END_MESSAGE_MAP$" 37