Skip to content

Commit

Permalink
Update formatting of queries
Browse files Browse the repository at this point in the history
  • Loading branch information
rvermeulen committed Oct 11, 2023
1 parent 0c6f341 commit dc3440b
Show file tree
Hide file tree
Showing 133 changed files with 135 additions and 266 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.closefilehandlewhennolongerneededshared.CloseFileHandleWhenNoLongerNeededShared

class TestFileQuery extends CloseFileHandleWhenNoLongerNeededSharedSharedQuery, TestQuery {
}
class TestFileQuery extends CloseFileHandleWhenNoLongerNeededSharedSharedQuery, TestQuery { }
3 changes: 1 addition & 2 deletions c/common/test/rules/commaoperatorused/CommaOperatorUsed.ql
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.commaoperatorused.CommaOperatorUsed

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

class TestFileQuery extends ConstantUnsignedIntegerExpressionsWrapAroundSharedQuery, TestQuery {
}
class TestFileQuery extends ConstantUnsignedIntegerExpressionsWrapAroundSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.constlikereturnvalue.ConstLikeReturnValue

class TestFileQuery extends ConstLikeReturnValueSharedQuery, TestQuery {
}
class TestFileQuery extends ConstLikeReturnValueSharedQuery, TestQuery { }
3 changes: 1 addition & 2 deletions c/common/test/rules/deadcode/DeadCode.ql
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.deadcode.DeadCode

class TestFileQuery extends DeadCodeSharedQuery, TestQuery {
}
class TestFileQuery extends DeadCodeSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.declaredareservedidentifier.DeclaredAReservedIdentifier

class TestFileQuery extends DeclaredAReservedIdentifierSharedQuery, TestQuery {
}
class TestFileQuery extends DeclaredAReservedIdentifierSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.dereferenceofnullpointer.DereferenceOfNullPointer

class TestFileQuery extends DereferenceOfNullPointerSharedQuery, TestQuery {
}
class TestFileQuery extends DereferenceOfNullPointerSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.donotaccessaclosedfile.DoNotAccessAClosedFile

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

class TestFileQuery extends DoNotAllowAMutexToGoOutOfScopeWhileLockedSharedQuery, TestQuery {
}
class TestFileQuery extends DoNotAllowAMutexToGoOutOfScopeWhileLockedSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.donotdestroyamutexwhileitislocked.DoNotDestroyAMutexWhileItIsLocked

class TestFileQuery extends DoNotDestroyAMutexWhileItIsLockedSharedQuery, TestQuery {
}
class TestFileQuery extends DoNotDestroyAMutexWhileItIsLockedSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.donotsubtractpointersaddressingdifferentarrays.DoNotSubtractPointersAddressingDifferentArrays

class TestFileQuery extends DoNotSubtractPointersAddressingDifferentArraysSharedQuery, TestQuery {
}
class TestFileQuery extends DoNotSubtractPointersAddressingDifferentArraysSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.donotusemorethantwolevelsofpointerindirection.DoNotUseMoreThanTwoLevelsOfPointerIndirection

class TestFileQuery extends DoNotUseMoreThanTwoLevelsOfPointerIndirectionSharedQuery, TestQuery {
}
class TestFileQuery extends DoNotUseMoreThanTwoLevelsOfPointerIndirectionSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.donotuserandforgeneratingpseudorandomnumbers.DoNotUseRandForGeneratingPseudorandomNumbers

class TestFileQuery extends DoNotUseRandForGeneratingPseudorandomNumbersSharedQuery, TestQuery {
}
class TestFileQuery extends DoNotUseRandForGeneratingPseudorandomNumbersSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.donotuserelationaloperatorswithdifferingarrays.DoNotUseRelationalOperatorsWithDifferingArrays

class TestFileQuery extends DoNotUseRelationalOperatorsWithDifferingArraysSharedQuery, TestQuery {
}
class TestFileQuery extends DoNotUseRelationalOperatorsWithDifferingArraysSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.freememorywhennolongerneededshared.FreeMemoryWhenNoLongerNeededShared

class TestFileQuery extends FreeMemoryWhenNoLongerNeededSharedSharedQuery, TestQuery {
}
class TestFileQuery extends FreeMemoryWhenNoLongerNeededSharedSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.gotostatementcondition.GotoStatementCondition

class TestFileQuery extends GotoStatementConditionSharedQuery, TestQuery {
}
class TestFileQuery extends GotoStatementConditionSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.guardaccesstobitfields.GuardAccessToBitFields

class TestFileQuery extends GuardAccessToBitFieldsSharedQuery, TestQuery {
}
class TestFileQuery extends GuardAccessToBitFieldsSharedQuery, TestQuery { }
3 changes: 1 addition & 2 deletions c/common/test/rules/hashoperatorsused/HashOperatorsUsed.ql
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.hashoperatorsused.HashOperatorsUsed

class TestFileQuery extends HashOperatorsUsedSharedQuery, TestQuery {
}
class TestFileQuery extends HashOperatorsUsedSharedQuery, TestQuery { }
3 changes: 1 addition & 2 deletions c/common/test/rules/identifierhidden/IdentifierHidden.ql
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.identifierhidden.IdentifierHidden

class TestFileQuery extends IdentifierHiddenSharedQuery, TestQuery {
}
class TestFileQuery extends IdentifierHiddenSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.ifelseterminationconstruct.IfElseTerminationConstruct

class TestFileQuery extends IfElseTerminationConstructSharedQuery, TestQuery {
}
class TestFileQuery extends IfElseTerminationConstructSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.includeguardsnotused.IncludeGuardsNotUsed

class TestFileQuery extends IncludeGuardsNotUsedSharedQuery, TestQuery {
}
class TestFileQuery extends IncludeGuardsNotUsedSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.informationleakageacrossboundaries.InformationLeakageAcrossBoundaries

class TestFileQuery extends InformationLeakageAcrossBoundariesSharedQuery, TestQuery {
}
class TestFileQuery extends InformationLeakageAcrossBoundariesSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.invalidatedenvstringpointers.InvalidatedEnvStringPointers

class TestFileQuery extends InvalidatedEnvStringPointersSharedQuery, TestQuery {
}
class TestFileQuery extends InvalidatedEnvStringPointersSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.invalidatedenvstringpointerswarn.InvalidatedEnvStringPointersWarn

class TestFileQuery extends InvalidatedEnvStringPointersWarnSharedQuery, TestQuery {
}
class TestFileQuery extends InvalidatedEnvStringPointersWarnSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.iofstreammissingpositioning.IOFstreamMissingPositioning

class TestFileQuery extends IOFstreamMissingPositioningSharedQuery, TestQuery {
}
class TestFileQuery extends IOFstreamMissingPositioningSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.macroparameternotenclosedinparentheses.MacroParameterNotEnclosedInParentheses

class TestFileQuery extends MacroParameterNotEnclosedInParenthesesSharedQuery, TestQuery {
}
class TestFileQuery extends MacroParameterNotEnclosedInParenthesesSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.memcmpusedtocomparepaddingdata.MemcmpUsedToComparePaddingData

class TestFileQuery extends MemcmpUsedToComparePaddingDataSharedQuery, TestQuery {
}
class TestFileQuery extends MemcmpUsedToComparePaddingDataSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.nestedlabelinswitch.NestedLabelInSwitch

class TestFileQuery extends NestedLabelInSwitchSharedQuery, TestQuery {
}
class TestFileQuery extends NestedLabelInSwitchSharedQuery, TestQuery { }
3 changes: 1 addition & 2 deletions c/common/test/rules/nonconstantformat/NonConstantFormat.ql
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.nonconstantformat.NonConstantFormat

class TestFileQuery extends NonConstantFormatSharedQuery, TestQuery {
}
class TestFileQuery extends NonConstantFormatSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.nonvoidfunctiondoesnotreturn.NonVoidFunctionDoesNotReturn

class TestFileQuery extends NonVoidFunctionDoesNotReturnSharedQuery, TestQuery {
}
class TestFileQuery extends NonVoidFunctionDoesNotReturnSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.notdistinctidentifier.NotDistinctIdentifier

class TestFileQuery extends NotDistinctIdentifierSharedQuery, TestQuery {
}
class TestFileQuery extends NotDistinctIdentifierSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.onlyfreememoryallocateddynamicallyshared.OnlyFreeMemoryAllocatedDynamicallyShared

class TestFileQuery extends OnlyFreeMemoryAllocatedDynamicallySharedSharedQuery, TestQuery {
}
class TestFileQuery extends OnlyFreeMemoryAllocatedDynamicallySharedSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.preprocessingdirectivewithinmacroargument.PreprocessingDirectiveWithinMacroArgument

class TestFileQuery extends PreprocessingDirectiveWithinMacroArgumentSharedQuery, TestQuery {
}
class TestFileQuery extends PreprocessingDirectiveWithinMacroArgumentSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.preprocessorincludesforbiddenheadernames.PreprocessorIncludesForbiddenHeaderNames

class TestFileQuery extends PreprocessorIncludesForbiddenHeaderNamesSharedQuery, TestQuery {
}
class TestFileQuery extends PreprocessorIncludesForbiddenHeaderNamesSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.preprocessorincludespreceded.PreprocessorIncludesPreceded

class TestFileQuery extends PreprocessorIncludesPrecededSharedQuery, TestQuery {
}
class TestFileQuery extends PreprocessorIncludesPrecededSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.preservesafetywhenusingconditionvariables.PreserveSafetyWhenUsingConditionVariables

class TestFileQuery extends PreserveSafetyWhenUsingConditionVariablesSharedQuery, TestQuery {
}
class TestFileQuery extends PreserveSafetyWhenUsingConditionVariablesSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.preventdeadlockbylockinginpredefinedorder.PreventDeadlockByLockingInPredefinedOrder

class TestFileQuery extends PreventDeadlockByLockingInPredefinedOrderSharedQuery, TestQuery {
}
class TestFileQuery extends PreventDeadlockByLockingInPredefinedOrderSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.readofuninitializedmemory.ReadOfUninitializedMemory

class TestFileQuery extends ReadOfUninitializedMemorySharedQuery, TestQuery {
}
class TestFileQuery extends ReadOfUninitializedMemorySharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.sectionsofcodeshallnotbecommentedout.SectionsOfCodeShallNotBeCommentedOut

class TestFileQuery extends SectionsOfCodeShallNotBeCommentedOutSharedQuery, TestQuery {
}
class TestFileQuery extends SectionsOfCodeShallNotBeCommentedOutSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.switchcasepositioncondition.SwitchCasePositionCondition

class TestFileQuery extends SwitchCasePositionConditionSharedQuery, TestQuery {
}
class TestFileQuery extends SwitchCasePositionConditionSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.switchnotwellformed.SwitchNotWellFormed

class TestFileQuery extends SwitchNotWellFormedSharedQuery, TestQuery {
}
class TestFileQuery extends SwitchNotWellFormedSharedQuery, TestQuery { }
3 changes: 1 addition & 2 deletions c/common/test/rules/typeomitted/TypeOmitted.ql
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.typeomitted.TypeOmitted

class TestFileQuery extends TypeOmittedSharedQuery, TestQuery {
}
class TestFileQuery extends TypeOmittedSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.uncheckedrangedomainpoleerrors.UncheckedRangeDomainPoleErrors

class TestFileQuery extends UncheckedRangeDomainPoleErrorsSharedQuery, TestQuery {
}
class TestFileQuery extends UncheckedRangeDomainPoleErrorsSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.undefinedmacroidentifiers.UndefinedMacroIdentifiers

class TestFileQuery extends UndefinedMacroIdentifiersSharedQuery, TestQuery {
}
class TestFileQuery extends UndefinedMacroIdentifiersSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.unnecessaryexposedidentifierdeclarationshared.UnnecessaryExposedIdentifierDeclarationShared

class TestFileQuery extends UnnecessaryExposedIdentifierDeclarationSharedSharedQuery, TestQuery {
}
class TestFileQuery extends UnnecessaryExposedIdentifierDeclarationSharedSharedQuery, TestQuery { }
3 changes: 1 addition & 2 deletions c/common/test/rules/unreachablecode/UnreachableCode.ql
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.unreachablecode.UnreachableCode

class TestFileQuery extends UnreachableCodeSharedQuery, TestQuery {
}
class TestFileQuery extends UnreachableCodeSharedQuery, TestQuery { }
3 changes: 1 addition & 2 deletions c/common/test/rules/unusedparameter/UnusedParameter.ql
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.unusedparameter.UnusedParameter

class TestFileQuery extends UnusedParameterSharedQuery, TestQuery {
}
class TestFileQuery extends UnusedParameterSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.unusedtypedeclarations.UnusedTypeDeclarations

class TestFileQuery extends UnusedTypeDeclarationsSharedQuery, TestQuery {
}
class TestFileQuery extends UnusedTypeDeclarationsSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.usageofassemblernotdocumented.UsageOfAssemblerNotDocumented

class TestFileQuery extends UsageOfAssemblerNotDocumentedSharedQuery, TestQuery {
}
class TestFileQuery extends UsageOfAssemblerNotDocumentedSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.useonlyarrayindexingforpointerarithmetic.UseOnlyArrayIndexingForPointerArithmetic

class TestFileQuery extends UseOnlyArrayIndexingForPointerArithmeticSharedQuery, TestQuery {
}
class TestFileQuery extends UseOnlyArrayIndexingForPointerArithmeticSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.wrapspuriousfunctioninloop.WrapSpuriousFunctionInLoop

class TestFileQuery extends WrapSpuriousFunctionInLoopSharedQuery, TestQuery {
}
class TestFileQuery extends WrapSpuriousFunctionInLoopSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.accessofundefinedmemberthroughnullpointer.AccessOfUndefinedMemberThroughNullPointer

class TestFileQuery extends AccessOfUndefinedMemberThroughNullPointerSharedQuery, TestQuery {
}
class TestFileQuery extends AccessOfUndefinedMemberThroughNullPointerSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.accessofundefinedmemberthroughuninitializedstaticpointer.AccessOfUndefinedMemberThroughUninitializedStaticPointer

class TestFileQuery extends AccessOfUndefinedMemberThroughUninitializedStaticPointerSharedQuery, TestQuery {
}
class TestFileQuery extends AccessOfUndefinedMemberThroughUninitializedStaticPointerSharedQuery,
TestQuery
{ }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.basicstringmaynotbenullterminated.BasicStringMayNotBeNullTerminated

class TestFileQuery extends BasicStringMayNotBeNullTerminatedSharedQuery, TestQuery {
}
class TestFileQuery extends BasicStringMayNotBeNullTerminatedSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.catchblockshadowing.CatchBlockShadowing

class TestFileQuery extends CatchBlockShadowingSharedQuery, TestQuery {
}
class TestFileQuery extends CatchBlockShadowingSharedQuery, TestQuery { }
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// GENERATED FILE - DO NOT MODIFY
import codingstandards.cpp.rules.catchexceptionsbylvaluereference.CatchExceptionsByLvalueReference

class TestFileQuery extends CatchExceptionsByLvalueReferenceSharedQuery, TestQuery {
}
class TestFileQuery extends CatchExceptionsByLvalueReferenceSharedQuery, TestQuery { }
Loading

0 comments on commit dc3440b

Please sign in to comment.