diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000..1dd7cebc --- /dev/null +++ b/.clang-format @@ -0,0 +1,12 @@ +--- +AccessModifierOffset: '-4' +AllowShortFunctionsOnASingleLine: InlineOnly +AllowShortIfStatementsOnASingleLine: Never +BinPackArguments: 'false' +BinPackParameters: 'false' +BreakBeforeBraces: Allman +ColumnLimit: '100' +ConstructorInitializerAllOnOneLineOrOnePerLine: 'true' +IndentWidth: '4' + +... diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 00000000..33ff78e5 --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,7 @@ +--- +Checks: 'clang-diagnostic-*,clang-analyzer-*,modernize-*,bugprone-*,concurrency-*,cppcoreguidelines-*,performance-*,portability-*,readability-*,-modernize-use-trailing-return-type,-readability-braces-around-statements,-readability-identifier-length' +WarningsAsErrors: '' +HeaderFilterRegex: '' +AnalyzeTemporaryDtors: false +FormatStyle: file +... diff --git a/extensions/apps/traceAnalyzer/.clang-format b/extensions/apps/traceAnalyzer/.clang-format deleted file mode 100644 index 950e9ea8..00000000 --- a/extensions/apps/traceAnalyzer/.clang-format +++ /dev/null @@ -1,13 +0,0 @@ ---- -BasedOnStyle: LLVM -AccessModifierOffset: '-4' -AllowShortFunctionsOnASingleLine: None -AllowShortIfStatementsOnASingleLine: Never -AllowShortLoopsOnASingleLine: 'false' -AlwaysBreakTemplateDeclarations: 'true' -BreakBeforeBraces: Allman -ColumnLimit: '120' -IndentWidth: '4' -PointerAlignment: Right - -...