Skip to content

Commit e8fe572

Browse files
committed
Update shared query test files to add SharedQuerys
Run the updated generator to add ..SharedQuery implementations for each shared test file.
1 parent bcc0340 commit e8fe572

File tree

145 files changed

+290
-0
lines changed

Some content is hidden

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

145 files changed

+290
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
// GENERATED FILE - DO NOT MODIFY
22
import codingstandards.cpp.rules.closefilehandlewhennolongerneededshared.CloseFileHandleWhenNoLongerNeededShared
3+
4+
class TestFileQuery extends CloseFileHandleWhenNoLongerNeededSharedSharedQuery, TestQuery { }
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
// GENERATED FILE - DO NOT MODIFY
22
import codingstandards.cpp.rules.commaoperatorused.CommaOperatorUsed
3+
4+
class TestFileQuery extends CommaOperatorUsedSharedQuery, TestQuery { }
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
// GENERATED FILE - DO NOT MODIFY
22
import codingstandards.cpp.rules.constantunsignedintegerexpressionswraparound.ConstantUnsignedIntegerExpressionsWrapAround
3+
4+
class TestFileQuery extends ConstantUnsignedIntegerExpressionsWrapAroundSharedQuery, TestQuery { }
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
// GENERATED FILE - DO NOT MODIFY
22
import codingstandards.cpp.rules.constlikereturnvalue.ConstLikeReturnValue
3+
4+
class TestFileQuery extends ConstLikeReturnValueSharedQuery, TestQuery { }
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
// GENERATED FILE - DO NOT MODIFY
22
import codingstandards.cpp.rules.deadcode.DeadCode
3+
4+
class TestFileQuery extends DeadCodeSharedQuery, TestQuery { }
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
// GENERATED FILE - DO NOT MODIFY
22
import codingstandards.cpp.rules.declaredareservedidentifier.DeclaredAReservedIdentifier
3+
4+
class TestFileQuery extends DeclaredAReservedIdentifierSharedQuery, TestQuery { }
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
// GENERATED FILE - DO NOT MODIFY
22
import codingstandards.cpp.rules.dereferenceofnullpointer.DereferenceOfNullPointer
3+
4+
class TestFileQuery extends DereferenceOfNullPointerSharedQuery, TestQuery { }
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
// GENERATED FILE - DO NOT MODIFY
22
import codingstandards.cpp.rules.differentidentifiersnottypographicallyunambiguous.DifferentIdentifiersNotTypographicallyUnambiguous
3+
4+
class TestFileQuery extends DifferentIdentifiersNotTypographicallyUnambiguousSharedQuery, TestQuery { }
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
// GENERATED FILE - DO NOT MODIFY
22
import codingstandards.cpp.rules.donotaccessaclosedfile.DoNotAccessAClosedFile
3+
4+
class TestFileQuery extends DoNotAccessAClosedFileSharedQuery, TestQuery { }
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
// GENERATED FILE - DO NOT MODIFY
22
import codingstandards.cpp.rules.donotallowamutextogooutofscopewhilelocked.DoNotAllowAMutexToGoOutOfScopeWhileLocked
3+
4+
class TestFileQuery extends DoNotAllowAMutexToGoOutOfScopeWhileLockedSharedQuery, TestQuery { }

0 commit comments

Comments
 (0)