Skip to content

Commit 272596a

Browse files
committed
Revert "Update formatting of test queries for shared rules."
This reverts commit 1193b8d.
1 parent a52d363 commit 272596a

File tree

134 files changed

+136
-268
lines changed

Some content is hidden

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

134 files changed

+136
-268
lines changed
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 { }
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.donotdestroyamutexwhileitislocked.DoNotDestroyAMutexWhileItIsLocked
33

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

0 commit comments

Comments
 (0)