Skip to content
Permalink
Browse files

Apply clang format on pythonic

  • Loading branch information...
pbrunet committed May 12, 2015
1 parent ace57dc commit ccfb3fbea2baa1837c7cfb3cfc3393c97de9a67d
Showing 1,299 changed files with 34,103 additions and 32,610 deletions.
@@ -0,0 +1,65 @@
---
Language: Cpp
# BasedOnStyle: LLVM
AccessModifierOffset: -2
AlignAfterOpenBracket: true
AlignEscapedNewlinesLeft: false
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AlwaysBreakAfterDefinitionReturnType: false
AlwaysBreakTemplateDeclarations: true
AlwaysBreakBeforeMultilineStrings: false
BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BinPackParameters: true
BinPackArguments: true
ColumnLimit: 80
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
DerivePointerAlignment: false
ExperimentalAutoDetectBinPacking: false
IndentCaseLabels: false
IndentWrappedFunctionNames: false
IndentFunctionDeclarationAfterType: false
MaxEmptyLinesToKeep: 1
KeepEmptyLinesAtTheStartOfBlocks: true
NamespaceIndentation: All
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakString: 1000
PenaltyBreakFirstLessLess: 120
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
SpacesBeforeTrailingComments: 1
Cpp11BracedListStyle: true
Standard: Cpp11
IndentWidth: 2
TabWidth: 8
UseTab: Never
BreakBeforeBraces: Linux
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpacesInAngles: false
SpaceInEmptyParentheses: false
SpacesInCStyleCastParentheses: false
SpaceAfterCStyleCast: false
SpacesInContainerLiterals: true
SpaceBeforeAssignmentOperators: true
ContinuationIndentWidth: 4
CommentPragmas: '^ IWYU pragma:'
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
SpaceBeforeParens: ControlStatements
DisableFormat: false
...

@@ -4,14 +4,14 @@
#include "pythonic/types/exceptions.hpp"
#include "pythonic/include/__builtin__/ArithmeticError.hpp"

namespace pythonic {
namespace pythonic
{

namespace __builtin__ {

PYTHONIC_EXCEPTION_IMPL(ArithmeticError)

}
namespace __builtin__
{

PYTHONIC_EXCEPTION_IMPL(ArithmeticError)
}
}

#endif
@@ -4,15 +4,14 @@
#include "pythonic/types/exceptions.hpp"
#include "pythonic/include/__builtin__/AssertionError.hpp"

namespace pythonic {
namespace pythonic
{

namespace __builtin__ {

PYTHONIC_EXCEPTION_IMPL(AssertionError)

}
namespace __builtin__
{

PYTHONIC_EXCEPTION_IMPL(AssertionError)
}
}

#endif

@@ -4,14 +4,14 @@
#include "pythonic/types/exceptions.hpp"
#include "pythonic/include/__builtin__/AttributeError.hpp"

namespace pythonic {
namespace pythonic
{

namespace __builtin__ {

PYTHONIC_EXCEPTION_IMPL(AttributeError)

}
namespace __builtin__
{

PYTHONIC_EXCEPTION_IMPL(AttributeError)
}
}

#endif
@@ -4,14 +4,14 @@
#include "pythonic/types/exceptions.hpp"
#include "pythonic/include/__builtin__/BaseException.hpp"

namespace pythonic {
namespace pythonic
{

namespace __builtin__ {

PYTHONIC_EXCEPTION_IMPL(BaseException)

}
namespace __builtin__
{

PYTHONIC_EXCEPTION_IMPL(BaseException)
}
}

#endif
@@ -4,14 +4,14 @@
#include "pythonic/types/exceptions.hpp"
#include "pythonic/include/__builtin__/BufferError.hpp"

namespace pythonic {
namespace pythonic
{

namespace __builtin__ {

PYTHONIC_EXCEPTION_IMPL(BufferError)

}
namespace __builtin__
{

PYTHONIC_EXCEPTION_IMPL(BufferError)
}
}

#endif
@@ -4,14 +4,14 @@
#include "pythonic/types/exceptions.hpp"
#include "pythonic/include/__builtin__/BytesWarning.hpp"

namespace pythonic {
namespace pythonic
{

namespace __builtin__ {

PYTHONIC_EXCEPTION_IMPL(BytesWarning)

}
namespace __builtin__
{

PYTHONIC_EXCEPTION_IMPL(BytesWarning)
}
}

#endif
@@ -4,14 +4,14 @@
#include "pythonic/types/exceptions.hpp"
#include "pythonic/include/__builtin__/DeprecationWarning.hpp"

namespace pythonic {
namespace pythonic
{

namespace __builtin__ {

PYTHONIC_EXCEPTION_IMPL(DeprecationWarning)

}
namespace __builtin__
{

PYTHONIC_EXCEPTION_IMPL(DeprecationWarning)
}
}

#endif
@@ -4,15 +4,14 @@
#include "pythonic/types/exceptions.hpp"
#include "pythonic/include/__builtin__/EOFError.hpp"

namespace pythonic {
namespace pythonic
{

namespace __builtin__ {

PYTHONIC_EXCEPTION_IMPL(EOFError)

}
namespace __builtin__
{

PYTHONIC_EXCEPTION_IMPL(EOFError)
}
}

#endif

@@ -4,15 +4,14 @@
#include "pythonic/types/exceptions.hpp"
#include "pythonic/include/__builtin__/EnvironmentError.hpp"

namespace pythonic {
namespace pythonic
{

namespace __builtin__ {

PYTHONIC_EXCEPTION_IMPL(EnvironmentError)

}
namespace __builtin__
{

PYTHONIC_EXCEPTION_IMPL(EnvironmentError)
}
}

#endif

@@ -4,15 +4,14 @@
#include "pythonic/types/exceptions.hpp"
#include "pythonic/include/__builtin__/Exception.hpp"

namespace pythonic {
namespace pythonic
{

namespace __builtin__ {

PYTHONIC_EXCEPTION_IMPL(Exception)

}
namespace __builtin__
{

PYTHONIC_EXCEPTION_IMPL(Exception)
}
}

#endif

@@ -4,15 +4,14 @@
#include "pythonic/types/exceptions.hpp"
#include "pythonic/include/__builtin__/FloatingPointError.hpp"

namespace pythonic {
namespace pythonic
{

namespace __builtin__ {

PYTHONIC_EXCEPTION_IMPL(FloatingPointError)

}
namespace __builtin__
{

PYTHONIC_EXCEPTION_IMPL(FloatingPointError)
}
}

#endif

@@ -4,15 +4,14 @@
#include "pythonic/types/exceptions.hpp"
#include "pythonic/include/__builtin__/FutureWarning.hpp"

namespace pythonic {
namespace pythonic
{

namespace __builtin__ {

PYTHONIC_EXCEPTION_IMPL(FutureWarning)

}
namespace __builtin__
{

PYTHONIC_EXCEPTION_IMPL(FutureWarning)
}
}

#endif

@@ -4,15 +4,14 @@
#include "pythonic/types/exceptions.hpp"
#include "pythonic/include/__builtin__/GeneratorExit.hpp"

namespace pythonic {
namespace pythonic
{

namespace __builtin__ {

PYTHONIC_EXCEPTION_IMPL(GeneratorExit)

}
namespace __builtin__
{

PYTHONIC_EXCEPTION_IMPL(GeneratorExit)
}
}

#endif

@@ -4,15 +4,14 @@
#include "pythonic/types/exceptions.hpp"
#include "pythonic/include/__builtin__/IOError.hpp"

namespace pythonic {
namespace pythonic
{

namespace __builtin__ {

PYTHONIC_EXCEPTION_IMPL(IOError)

}
namespace __builtin__
{

PYTHONIC_EXCEPTION_IMPL(IOError)
}
}

#endif

@@ -4,15 +4,14 @@
#include "pythonic/types/exceptions.hpp"
#include "pythonic/include/__builtin__/ImportError.hpp"

namespace pythonic {
namespace pythonic
{

namespace __builtin__ {

PYTHONIC_EXCEPTION_IMPL(ImportError)

}
namespace __builtin__
{

PYTHONIC_EXCEPTION_IMPL(ImportError)
}
}

#endif

0 comments on commit ccfb3fb

Please sign in to comment.
You can’t perform that action at this time.