-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c1812ee
Showing
1,573 changed files
with
146,628 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
environment: | ||
CCACHE_BASEDIR: $CIRRUS_WORKING_DIR | ||
|
||
container: | ||
image: rsmmr/spicy-ci-ubuntu:latest | ||
cpu: 8 | ||
memory: 16G | ||
|
||
clang9_debug_task: | ||
configure_script: ./ci/run-ci -b build-ci-debug configure debug --cxx-compiler clang++-9 --with-zeek /opt/zeek-debug --clang-format /opt/clang10/bin/clang-format --clang-tidy /opt/clang10/bin/clang-tidy | ||
build_script: ./ci/run-ci -b build-ci-debug build | ||
test_build_script: ./ci/run-ci -b build-ci-debug test-build | ||
test_code_script: ./ci/run-ci -b build-ci-debug test-code | ||
install_script: ./ci/run-ci -b build-ci-debug install | ||
|
||
timeout_in: 120m | ||
|
||
ccache_cache: | ||
folder: /var/spool/ccache | ||
fingerprint_script: echo $CIRRUS_TASK_NAME-$CIRRUS_OS | ||
|
||
always: | ||
ci_artifacts: | ||
path: build-ci-debug/ci | ||
|
||
junit_artifacts: | ||
path: build-ci-debug/ci/diag.xml | ||
type: text/xml | ||
format: junit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
--- | ||
Language: Cpp | ||
AccessModifierOffset: -4 | ||
AlignAfterOpenBracket: Align | ||
AlignConsecutiveAssignments: false | ||
AlignConsecutiveDeclarations: false | ||
AlignEscapedNewlines: Right | ||
AlignOperands: true | ||
AlignTrailingComments: true | ||
AllowAllParametersOfDeclarationOnNextLine: false | ||
AllowShortBlocksOnASingleLine: false | ||
AllowShortCaseLabelsOnASingleLine: true | ||
AllowShortFunctionsOnASingleLine: true | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
AlwaysBreakAfterDefinitionReturnType: None | ||
AlwaysBreakAfterReturnType: None | ||
AlwaysBreakBeforeMultilineStrings: true | ||
AlwaysBreakTemplateDeclarations: Yes | ||
BinPackArguments: true | ||
BinPackParameters: true | ||
BraceWrapping: | ||
AfterClass: false | ||
AfterControlStatement: false | ||
AfterEnum: false | ||
AfterFunction: false | ||
AfterNamespace: false | ||
AfterObjCDeclaration: false | ||
AfterStruct: false | ||
AfterUnion: false | ||
AfterExternBlock: false | ||
BeforeCatch: false | ||
BeforeElse: true | ||
IndentBraces: false | ||
SplitEmptyFunction: false | ||
SplitEmptyRecord: false | ||
SplitEmptyNamespace: false | ||
BreakBeforeBinaryOperators: None | ||
BreakBeforeBraces: Custom | ||
BreakBeforeInheritanceComma: false | ||
BreakInheritanceList: BeforeColon | ||
BreakBeforeTernaryOperators: false | ||
BreakConstructorInitializersBeforeComma: false | ||
BreakConstructorInitializers: BeforeColon | ||
BreakAfterJavaFieldAnnotations: false | ||
BreakStringLiterals: true | ||
ColumnLimit: 120 | ||
CommentPragmas: 'NOLINT' | ||
CompactNamespaces: false | ||
ConstructorInitializerAllOnOneLineOrOnePerLine: true | ||
ConstructorInitializerIndentWidth: 4 | ||
ContinuationIndentWidth: 4 | ||
Cpp11BracedListStyle: true | ||
DerivePointerAlignment: false | ||
DisableFormat: false | ||
ExperimentalAutoDetectBinPacking: false | ||
FixNamespaceComments: true | ||
ForEachMacros: | ||
- foreach | ||
- Q_FOREACH | ||
- BOOST_FOREACH | ||
IncludeBlocks: Preserve | ||
IncludeCategories: | ||
- Regex: '^"(llvm|llvm-c|clang|clang-c)/' | ||
Priority: 2 | ||
- Regex: '^(<|"(gtest|isl|json)/)' | ||
Priority: 3 | ||
- Regex: '.*' | ||
Priority: 1 | ||
IncludeIsMainRegex: '$' | ||
IndentCaseLabels: true | ||
IndentPPDirectives: None | ||
IndentWidth: 4 | ||
IndentWrappedFunctionNames: false | ||
JavaScriptQuotes: Leave | ||
JavaScriptWrapImports: true | ||
KeepEmptyLinesAtTheStartOfBlocks: false | ||
MacroBlockBegin: '^BEGIN_' | ||
MacroBlockEnd: '^END_' | ||
MaxEmptyLinesToKeep: 2 | ||
NamespaceIndentation: None | ||
ObjCBinPackProtocolList: Auto | ||
ObjCBlockIndentWidth: 2 | ||
ObjCSpaceAfterProperty: false | ||
ObjCSpaceBeforeProtocolList: true | ||
PenaltyBreakAssignment: 2 | ||
PenaltyBreakBeforeFirstCallParameter: 500 | ||
PenaltyBreakComment: 300 | ||
PenaltyBreakFirstLessLess: 120 | ||
PenaltyBreakString: 1000 | ||
PenaltyBreakTemplateDeclaration: 10 | ||
PenaltyExcessCharacter: 1000000 | ||
PenaltyReturnTypeOnItsOwnLine: 1000 | ||
PointerAlignment: Left | ||
ReflowComments: true | ||
SortIncludes: true | ||
SortUsingDeclarations: true | ||
SpaceAfterCStyleCast: false | ||
SpaceAfterTemplateKeyword: false | ||
SpaceAfterLogicalNot: true | ||
SpaceBeforeAssignmentOperators: true | ||
SpaceBeforeCpp11BracedList: false | ||
SpaceBeforeCtorInitializerColon: true | ||
SpaceBeforeInheritanceColon: true | ||
SpaceBeforeParens: ControlStatements | ||
SpaceBeforeRangeBasedForLoopColon: true | ||
SpaceInEmptyParentheses: false | ||
SpacesBeforeTrailingComments: 1 | ||
SpacesInAngles: false | ||
SpacesInContainerLiterals: true | ||
SpacesInCStyleCastParentheses: false | ||
SpacesInParentheses: false | ||
SpacesInSquareBrackets: false | ||
SpacesInConditionalStatement: true | ||
Standard: Cpp11 | ||
StatementMacros: | ||
- STANDARD_OPERATOR_1 | ||
TabWidth: 4 | ||
UseTab: Never | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
Checks: 'bugprone, | ||
cert, | ||
clang, | ||
misc, | ||
modernize, | ||
performance, | ||
portability, | ||
readability, | ||
-bugprone-exception-escape, | ||
-bugprone-forward-declaration-namespace, | ||
-bugprone-macro-parentheses, | ||
-bugprone-suspicious-semicolon, | ||
-bugprone-unhandled-self-assignment, | ||
-cert-err58-cpp, | ||
-cert-oop54-cpp, | ||
-clang-diagnostic-c++2a-designator, | ||
-clang-diagnostic-deprecated-copy, | ||
-clang-diagnostic-range-loop-analysis, | ||
-misc-macro-parentheses, | ||
-misc-non-private-member-variables-in-classes, | ||
-misc-suspicious-semicolon, | ||
-misc-unused-parameters, | ||
-modernize-avoid-c-arrays, | ||
-modernize-use-equals-default, | ||
-modernize-use-nodiscard, | ||
-modernize-use-trailing-return-type, | ||
-readability-braces-around-statements, | ||
-readability-container-size-empty, | ||
-readability-convert-member-functions-to-static, | ||
-readability-else-after-return, | ||
-readability-implicit-bool-conversion, | ||
-readability-isolate-declaration, | ||
-readability-magic-numbers, | ||
-readability-make-member-function-const, | ||
-readability-named-parameter, | ||
-readability-qualified-auto, | ||
' | ||
|
||
HeaderFilterRegex: '/include/(hilti|spicy)/[^3].*/[^_][^_][^/]*$' | ||
WarningsAsErrors: '*' | ||
|
||
CheckOptions: | ||
- key: performance-unnecessary-value-param.AllowedTypes | ||
value: hilti::NodeRef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Paths to source files to ignore when running clang-tidy. This is | ||
# evaluated by scripts/run-clang-tidy. | ||
# | ||
# Note that this doesn't catch header files to ignore. We use a | ||
# combination of HeaderFilterRegex and file names starting with "__" to | ||
# select which headers to skip. | ||
|
||
.*/3rdparty/ | ||
hilti/src/rt/types/regexp.cc # Too many warnings due to usage of jrx C API. | ||
tests/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
build* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/build* | ||
tmp | ||
*.pyc | ||
.##* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "3rdparty/doctest"] | ||
path = 3rdparty/doctest | ||
url = https://github.com/onqtam/doctest.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
hilti/include/ hilti/src/ | ||
hilti/include/ast/ hilti/src/ast/ | ||
hilti/include/base/ hilti/src/base/ | ||
hilti/include/rt/ hilti/src/rt/ | ||
hilti/include/compiler/detail/visitors.h hilti/src/compiler/visitors/ | ||
hilti/include/compiler hilti/src/compiler/ | ||
hilti/include/compiler/detail hilti/src/compiler/ | ||
hilti/bin | ||
spicy/include spicy/src | ||
spicy/include/ast/ spicy/src/ast/ | ||
spicy/include/rt/ spicy/src/rt/ | ||
spicy/include/compiler/detail/visitors.h spicy/src/compiler/visitors/ | ||
spicy/include/compiler spicy/src/compiler/ | ||
spicy/include/compiler/detail spicy/src/compiler/ | ||
spicy/bin | ||
zeek zeek | ||
zeek/plugin/include zeek/plugin/src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
repos: | ||
- repo: local | ||
hooks: | ||
- id: checkbashisms | ||
name: check for bashisms in /bin/sh scripts | ||
entry: ./tests/Scripts/3rdparty/checkbashisms.pl | ||
language: script | ||
files: '.*\.sh' | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v2.5.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
exclude: '^tests/Baseline' | ||
- id: end-of-file-fixer | ||
exclude: '^tests/Baseline' | ||
- id: check-yaml | ||
- id: check-added-large-files | ||
|
||
exclude: /3rdparty/|doc/.*examples/|/Baseline/|(\.svg$)|(\.dat$) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
new_commit_msg="Update CHANGES. [skip ci]" | ||
file_version="" | ||
show_authors=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
add_subdirectory(doctest) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
0.4 | 2020-04-07 14:50:17 +0000 | ||
|
||
* Starting CHANGES. |
Oops, something went wrong.