Skip to content

Commit b91d527

Browse files
committed
Improve performance on large databases
Remove unnecessary filter on start locations.
1 parent 172378f commit b91d527

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cpp/common/src/codingstandards/cpp/rules/declaredareservedidentifier/DeclaredAReservedIdentifier.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ Macro getGeneratedFrom(Element e) {
143143
exists(MacroInvocation mi |
144144
mi = result.getAnInvocation() and
145145
mi.getAGeneratedElement() = e and
146-
mi.getLocation().getStartColumn() = e.getLocation().getStartColumn() and
147146
not exists(MacroInvocation child |
148147
child.getParentInvocation() = mi and
149148
child.getAGeneratedElement() = e

0 commit comments

Comments
 (0)