Skip to content

Commit feea1e4

Browse files
Fix query format
1 parent 9b325f6 commit feea1e4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

c/misra/src/rules/RULE-8-15/RedeclarationOfObjectWithoutAlignment.ql

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,11 @@ import codingstandards.c.misra
1919
/**
2020
* Performance optimization; start query by joining attributes to declarations
2121
* rather than locations.
22-
*
22+
*
2323
* Including the entry location also speeds up search.
2424
*/
2525
newtype TAttributeDeclLocation =
26-
TAttributeDeclLocationInfo(
27-
Attribute attribute, DeclarationEntry entry, Location entryLocation
28-
) {
26+
TAttributeDeclLocationInfo(Attribute attribute, DeclarationEntry entry, Location entryLocation) {
2927
entry.getDeclaration().(Variable).getAnAttribute() = attribute and
3028
entryLocation = entry.getLocation()
3129
}

0 commit comments

Comments
 (0)