Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9FEC5200C4C for ; Tue, 4 Apr 2017 21:57:20 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9E7AB160B90; Tue, 4 Apr 2017 19:57:20 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BF347160B77 for ; Tue, 4 Apr 2017 21:57:19 +0200 (CEST) Received: (qmail 21476 invoked by uid 500); 4 Apr 2017 19:57:19 -0000 Mailing-List: contact commits-help@arrow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@arrow.apache.org Delivered-To: mailing list commits@arrow.apache.org Received: (qmail 21459 invoked by uid 99); 4 Apr 2017 19:57:18 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Apr 2017 19:57:18 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4F679DFE59; Tue, 4 Apr 2017 19:57:18 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: uwe@apache.org To: commits@arrow.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: arrow git commit: ARROW-770: [C++] Move .clang* files back into cpp source tree Date: Tue, 4 Apr 2017 19:57:18 +0000 (UTC) archived-at: Tue, 04 Apr 2017 19:57:20 -0000 Repository: arrow Updated Branches: refs/heads/master 2aed7845f -> 5d6c6ad6a ARROW-770: [C++] Move .clang* files back into cpp source tree After ARROW-341, we don't need these files at the top level anymore to get clang-format to work on all of our C++ code Author: Wes McKinney Closes #491 from wesm/ARROW-770 and squashes the following commits: 1588a4f [Wes McKinney] Move .clang* files back into cpp source tree Project: http://git-wip-us.apache.org/repos/asf/arrow/repo Commit: http://git-wip-us.apache.org/repos/asf/arrow/commit/5d6c6ad6 Tree: http://git-wip-us.apache.org/repos/asf/arrow/tree/5d6c6ad6 Diff: http://git-wip-us.apache.org/repos/asf/arrow/diff/5d6c6ad6 Branch: refs/heads/master Commit: 5d6c6ad6a81be6194a4f8349a369a94ef927e18b Parents: 2aed784 Author: Wes McKinney Authored: Tue Apr 4 21:57:13 2017 +0200 Committer: Uwe L. Korn Committed: Tue Apr 4 21:57:13 2017 +0200 ---------------------------------------------------------------------- .clang-format | 65 --------------------------------------------- .clang-tidy | 14 ---------- .clang-tidy-ignore | 2 -- cpp/.clang-format | 65 +++++++++++++++++++++++++++++++++++++++++++++ cpp/.clang-tidy | 14 ++++++++++ cpp/.clang-tidy-ignore | 2 ++ 6 files changed, 81 insertions(+), 81 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/arrow/blob/5d6c6ad6/.clang-format ---------------------------------------------------------------------- diff --git a/.clang-format b/.clang-format deleted file mode 100644 index 7d5b3cf..0000000 --- a/.clang-format +++ /dev/null @@ -1,65 +0,0 @@ ---- -Language: Cpp -# BasedOnStyle: Google -AccessModifierOffset: -1 -AlignAfterOpenBracket: false -AlignConsecutiveAssignments: false -AlignEscapedNewlinesLeft: true -AlignOperands: true -AlignTrailingComments: true -AllowAllParametersOfDeclarationOnNextLine: true -AllowShortBlocksOnASingleLine: true -AllowShortCaseLabelsOnASingleLine: false -AllowShortFunctionsOnASingleLine: Inline -AllowShortIfStatementsOnASingleLine: true -AllowShortLoopsOnASingleLine: false -AlwaysBreakAfterDefinitionReturnType: None -AlwaysBreakBeforeMultilineStrings: true -AlwaysBreakTemplateDeclarations: true -BinPackArguments: true -BinPackParameters: true -BreakBeforeBinaryOperators: None -BreakBeforeBraces: Attach -BreakBeforeTernaryOperators: true -BreakConstructorInitializersBeforeComma: false -ColumnLimit: 90 -CommentPragmas: '^ IWYU pragma:' -ConstructorInitializerAllOnOneLineOrOnePerLine: true -ConstructorInitializerIndentWidth: 4 -ContinuationIndentWidth: 4 -Cpp11BracedListStyle: true -DerivePointerAlignment: false -DisableFormat: false -ExperimentalAutoDetectBinPacking: false -ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] -IndentCaseLabels: true -IndentWidth: 2 -IndentWrappedFunctionNames: false -KeepEmptyLinesAtTheStartOfBlocks: false -MacroBlockBegin: '' -MacroBlockEnd: '' -MaxEmptyLinesToKeep: 1 -NamespaceIndentation: None -ObjCBlockIndentWidth: 2 -ObjCSpaceAfterProperty: false -ObjCSpaceBeforeProtocolList: false -PenaltyBreakBeforeFirstCallParameter: 1000 -PenaltyBreakComment: 300 -PenaltyBreakFirstLessLess: 120 -PenaltyBreakString: 1000 -PenaltyExcessCharacter: 1000000 -PenaltyReturnTypeOnItsOwnLine: 200 -PointerAlignment: Left -SpaceAfterCStyleCast: false -SpaceBeforeAssignmentOperators: true -SpaceBeforeParens: ControlStatements -SpaceInEmptyParentheses: false -SpacesBeforeTrailingComments: 2 -SpacesInAngles: false -SpacesInContainerLiterals: true -SpacesInCStyleCastParentheses: false -SpacesInParentheses: false -SpacesInSquareBrackets: false -Standard: Cpp11 -TabWidth: 8 -UseTab: Never http://git-wip-us.apache.org/repos/asf/arrow/blob/5d6c6ad6/.clang-tidy ---------------------------------------------------------------------- diff --git a/.clang-tidy b/.clang-tidy deleted file mode 100644 index deaa9bd..0000000 --- a/.clang-tidy +++ /dev/null @@ -1,14 +0,0 @@ ---- -Checks: 'clang-diagnostic-*,clang-analyzer-*,-clang-analyzer-alpha*,google-.*,modernize-.*,readablity-.*' -HeaderFilterRegex: 'arrow/.*' -AnalyzeTemporaryDtors: true -CheckOptions: - - key: google-readability-braces-around-statements.ShortStatementLines - value: '1' - - key: google-readability-function-size.StatementThreshold - value: '800' - - key: google-readability-namespace-comments.ShortNamespaceLines - value: '10' - - key: google-readability-namespace-comments.SpacesBeforeComments - value: '2' - http://git-wip-us.apache.org/repos/asf/arrow/blob/5d6c6ad6/.clang-tidy-ignore ---------------------------------------------------------------------- diff --git a/.clang-tidy-ignore b/.clang-tidy-ignore deleted file mode 100644 index 5ab4d20..0000000 --- a/.clang-tidy-ignore +++ /dev/null @@ -1,2 +0,0 @@ -ipc-adapter-test.cc -memory-pool-test.cc http://git-wip-us.apache.org/repos/asf/arrow/blob/5d6c6ad6/cpp/.clang-format ---------------------------------------------------------------------- diff --git a/cpp/.clang-format b/cpp/.clang-format new file mode 100644 index 0000000..7d5b3cf --- /dev/null +++ b/cpp/.clang-format @@ -0,0 +1,65 @@ +--- +Language: Cpp +# BasedOnStyle: Google +AccessModifierOffset: -1 +AlignAfterOpenBracket: false +AlignConsecutiveAssignments: false +AlignEscapedNewlinesLeft: true +AlignOperands: true +AlignTrailingComments: true +AllowAllParametersOfDeclarationOnNextLine: true +AllowShortBlocksOnASingleLine: true +AllowShortCaseLabelsOnASingleLine: false +AllowShortFunctionsOnASingleLine: Inline +AllowShortIfStatementsOnASingleLine: true +AllowShortLoopsOnASingleLine: false +AlwaysBreakAfterDefinitionReturnType: None +AlwaysBreakBeforeMultilineStrings: true +AlwaysBreakTemplateDeclarations: true +BinPackArguments: true +BinPackParameters: true +BreakBeforeBinaryOperators: None +BreakBeforeBraces: Attach +BreakBeforeTernaryOperators: true +BreakConstructorInitializersBeforeComma: false +ColumnLimit: 90 +CommentPragmas: '^ IWYU pragma:' +ConstructorInitializerAllOnOneLineOrOnePerLine: true +ConstructorInitializerIndentWidth: 4 +ContinuationIndentWidth: 4 +Cpp11BracedListStyle: true +DerivePointerAlignment: false +DisableFormat: false +ExperimentalAutoDetectBinPacking: false +ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] +IndentCaseLabels: true +IndentWidth: 2 +IndentWrappedFunctionNames: false +KeepEmptyLinesAtTheStartOfBlocks: false +MacroBlockBegin: '' +MacroBlockEnd: '' +MaxEmptyLinesToKeep: 1 +NamespaceIndentation: None +ObjCBlockIndentWidth: 2 +ObjCSpaceAfterProperty: false +ObjCSpaceBeforeProtocolList: false +PenaltyBreakBeforeFirstCallParameter: 1000 +PenaltyBreakComment: 300 +PenaltyBreakFirstLessLess: 120 +PenaltyBreakString: 1000 +PenaltyExcessCharacter: 1000000 +PenaltyReturnTypeOnItsOwnLine: 200 +PointerAlignment: Left +SpaceAfterCStyleCast: false +SpaceBeforeAssignmentOperators: true +SpaceBeforeParens: ControlStatements +SpaceInEmptyParentheses: false +SpacesBeforeTrailingComments: 2 +SpacesInAngles: false +SpacesInContainerLiterals: true +SpacesInCStyleCastParentheses: false +SpacesInParentheses: false +SpacesInSquareBrackets: false +Standard: Cpp11 +TabWidth: 8 +UseTab: Never http://git-wip-us.apache.org/repos/asf/arrow/blob/5d6c6ad6/cpp/.clang-tidy ---------------------------------------------------------------------- diff --git a/cpp/.clang-tidy b/cpp/.clang-tidy new file mode 100644 index 0000000..deaa9bd --- /dev/null +++ b/cpp/.clang-tidy @@ -0,0 +1,14 @@ +--- +Checks: 'clang-diagnostic-*,clang-analyzer-*,-clang-analyzer-alpha*,google-.*,modernize-.*,readablity-.*' +HeaderFilterRegex: 'arrow/.*' +AnalyzeTemporaryDtors: true +CheckOptions: + - key: google-readability-braces-around-statements.ShortStatementLines + value: '1' + - key: google-readability-function-size.StatementThreshold + value: '800' + - key: google-readability-namespace-comments.ShortNamespaceLines + value: '10' + - key: google-readability-namespace-comments.SpacesBeforeComments + value: '2' + http://git-wip-us.apache.org/repos/asf/arrow/blob/5d6c6ad6/cpp/.clang-tidy-ignore ---------------------------------------------------------------------- diff --git a/cpp/.clang-tidy-ignore b/cpp/.clang-tidy-ignore new file mode 100644 index 0000000..5ab4d20 --- /dev/null +++ b/cpp/.clang-tidy-ignore @@ -0,0 +1,2 @@ +ipc-adapter-test.cc +memory-pool-test.cc