diff --git a/.clang-format b/.clang-format index 8908c2e4..4059a1a7 100644 --- a/.clang-format +++ b/.clang-format @@ -28,6 +28,7 @@ BraceWrapping: AfterObjCDeclaration: false AfterStruct: false AfterUnion: false + AfterExternBlock: false BeforeCatch: false BeforeElse: false IndentBraces: false @@ -57,6 +58,7 @@ ForEachMacros: - foreach - Q_FOREACH - BOOST_FOREACH +IncludeBlocks: Preserve IncludeCategories: - Regex: '^"(llvm|llvm-c|clang|clang-c)/' Priority: 2 @@ -66,6 +68,7 @@ IncludeCategories: Priority: 1 IncludeIsMainRegex: '$' IndentCaseLabels: false +IndentPPDirectives: None IndentWidth: 2 IndentWrappedFunctionNames: false JavaScriptQuotes: Leave @@ -86,6 +89,10 @@ PenaltyBreakString: 1000 PenaltyExcessCharacter: 1000000 PenaltyReturnTypeOnItsOwnLine: 60 PointerAlignment: Right +RawStringFormats: + - Delimiter: pb + Language: TextProto + BasedOnStyle: google ReflowComments: true SortIncludes: false SortUsingDeclarations: true