mirror of
https://github.com/bolucat/Archive.git
synced 2025-09-26 20:21:35 +08:00
23 lines
754 B
YAML
23 lines
754 B
YAML
# Defines the Chromium style for automatic reformatting.
|
|
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
|
BasedOnStyle: Chromium
|
|
# This defaults to 'Auto'. Explicitly set it for a while, so that
|
|
# 'vector<vector<int> >' in existing files gets formatted to
|
|
# 'vector<vector<int>>'. ('Auto' means that clang-format will only use
|
|
# 'int>>' if the file already contains at least one such instance.)
|
|
Standard: Cpp11
|
|
# Make sure code like:
|
|
# IPC_BEGIN_MESSAGE_MAP()
|
|
# IPC_MESSAGE_HANDLER(WidgetHostViewHost_Update, OnUpdate)
|
|
# IPC_END_MESSAGE_MAP()
|
|
# gets correctly indented.
|
|
ColumnLimit: 120
|
|
MacroBlockBegin: "^\
|
|
BEGIN_MESSAGE_MAP|\
|
|
BEGIN_EVENT_TABLE|\
|
|
wxBEGIN_EVENT_TABLE"
|
|
MacroBlockEnd: "^\
|
|
END_MESSAGE_MAP|\
|
|
END_EVENT_TABLE|\
|
|
wxEND_EVENT_TABLE"
|