Skip to content

Commit 1704bb8

Browse files
committed
Format query
1 parent 1c610ee commit 1704bb8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cpp/misra/src/rules/RULE-6-8-3/AutomaticStorageAssignedToObjectGreaterLifetime.ql

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@ import cpp
1818
import codingstandards.cpp.misra
1919
import codingstandards.cpp.rules.donotcopyaddressofautostorageobjecttootherobject.DoNotCopyAddressOfAutoStorageObjectToOtherObject
2020

21-
module AutomaticStorageAssignedToObjectGreaterLifetimeConfig implements DoNotCopyAddressOfAutoStorageObjectToOtherObjectConfigSig {
22-
Query getQuery() { result = LifetimePackage::automaticStorageAssignedToObjectGreaterLifetimeQuery() }
21+
module AutomaticStorageAssignedToObjectGreaterLifetimeConfig implements
22+
DoNotCopyAddressOfAutoStorageObjectToOtherObjectConfigSig
23+
{
24+
Query getQuery() {
25+
result = LifetimePackage::automaticStorageAssignedToObjectGreaterLifetimeQuery()
26+
}
2327
}
2428

2529
import DoNotCopyAddressOfAutoStorageObjectToOtherObject<AutomaticStorageAssignedToObjectGreaterLifetimeConfig>

0 commit comments

Comments
 (0)