Skip to content

Commit 394453d

Browse files
authored
Merge branch 'main' into lcartey/a7-3-1-improvements
2 parents 73736d9 + f536849 commit 394453d

File tree

137 files changed

+153
-274
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+153
-274
lines changed

.github/workflows/validate-coding-standards.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@ jobs:
8989

9090
- name: Validate CodeQL Format (CPP)
9191
run: |
92-
find cpp -name \*.ql -or -name \*.qll -print0 | xargs -0 --max-procs "$XARGS_MAX_PROCS" codeql query format --in-place
92+
find cpp \( -name \*.ql -or -name \*.qll \) -print0 | xargs -0 --max-procs "$XARGS_MAX_PROCS" codeql query format --in-place
9393
9494
git diff
9595
git diff --compact-summary
9696
git diff --quiet
9797
9898
- name: Validate CodeQL Format (C)
9999
run: |
100-
find c -name \*.ql -or -name \*.qll -print0 | xargs -0 --max-procs "$XARGS_MAX_PROCS" codeql query format --in-place
100+
find c \( -name \*.ql -or -name \*.qll \) -print0 | xargs -0 --max-procs "$XARGS_MAX_PROCS" codeql query format --in-place
101101
102102
git diff
103103
git diff --compact-summary
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// GENERATED FILE - DO NOT MODIFY
22
import codingstandards.cpp.rules.closefilehandlewhennolongerneededshared.CloseFileHandleWhenNoLongerNeededShared
33

4-
class TestFileQuery extends CloseFileHandleWhenNoLongerNeededSharedSharedQuery, TestQuery {
5-
}
4+
class TestFileQuery extends CloseFileHandleWhenNoLongerNeededSharedSharedQuery, TestQuery { }
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// GENERATED FILE - DO NOT MODIFY
22
import codingstandards.cpp.rules.commaoperatorused.CommaOperatorUsed
33

4-
class TestFileQuery extends CommaOperatorUsedSharedQuery, TestQuery {
5-
}
4+
class TestFileQuery extends CommaOperatorUsedSharedQuery, TestQuery { }
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// GENERATED FILE - DO NOT MODIFY
22
import codingstandards.cpp.rules.constantunsignedintegerexpressionswraparound.ConstantUnsignedIntegerExpressionsWrapAround
33

4-
class TestFileQuery extends ConstantUnsignedIntegerExpressionsWrapAroundSharedQuery, TestQuery {
5-
}
4+
class TestFileQuery extends ConstantUnsignedIntegerExpressionsWrapAroundSharedQuery, TestQuery { }
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// GENERATED FILE - DO NOT MODIFY
22
import codingstandards.cpp.rules.constlikereturnvalue.ConstLikeReturnValue
33

4-
class TestFileQuery extends ConstLikeReturnValueSharedQuery, TestQuery {
5-
}
4+
class TestFileQuery extends ConstLikeReturnValueSharedQuery, TestQuery { }
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// GENERATED FILE - DO NOT MODIFY
22
import codingstandards.cpp.rules.deadcode.DeadCode
33

4-
class TestFileQuery extends DeadCodeSharedQuery, TestQuery {
5-
}
4+
class TestFileQuery extends DeadCodeSharedQuery, TestQuery { }
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// GENERATED FILE - DO NOT MODIFY
22
import codingstandards.cpp.rules.declaredareservedidentifier.DeclaredAReservedIdentifier
33

4-
class TestFileQuery extends DeclaredAReservedIdentifierSharedQuery, TestQuery {
5-
}
4+
class TestFileQuery extends DeclaredAReservedIdentifierSharedQuery, TestQuery { }
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// GENERATED FILE - DO NOT MODIFY
22
import codingstandards.cpp.rules.dereferenceofnullpointer.DereferenceOfNullPointer
33

4-
class TestFileQuery extends DereferenceOfNullPointerSharedQuery, TestQuery {
5-
}
4+
class TestFileQuery extends DereferenceOfNullPointerSharedQuery, TestQuery { }
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// GENERATED FILE - DO NOT MODIFY
22
import codingstandards.cpp.rules.donotaccessaclosedfile.DoNotAccessAClosedFile
33

4-
class TestFileQuery extends DoNotAccessAClosedFileSharedQuery, TestQuery {
5-
}
4+
class TestFileQuery extends DoNotAccessAClosedFileSharedQuery, TestQuery { }
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// GENERATED FILE - DO NOT MODIFY
22
import codingstandards.cpp.rules.donotallowamutextogooutofscopewhilelocked.DoNotAllowAMutexToGoOutOfScopeWhileLocked
33

4-
class TestFileQuery extends DoNotAllowAMutexToGoOutOfScopeWhileLockedSharedQuery, TestQuery {
5-
}
4+
class TestFileQuery extends DoNotAllowAMutexToGoOutOfScopeWhileLockedSharedQuery, TestQuery { }

0 commit comments

Comments
 (0)