Skip to content

Commit aac1070

Browse files
committed
C++: Consistent naming.
1 parent 413d3ab commit aac1070

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/src/Metrics/Internal/ASTConsistency.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ predicate hasDuplicateFunctionEntryPointLocation(Function func) {
1414

1515
predicate hasDuplicateFunctionEntryPoint(Function func) { count(func.getEntryPoint()) > 1 }
1616

17-
predicate hasNonUniqueDeclarationEntry(DeclStmt stmt, int i) {
17+
predicate hasDuplicateDeclarationEntry(DeclStmt stmt, int i) {
1818
strictcount(stmt.getDeclarationEntry(i)) > 1
1919
}
2020

2121
select count(Function f | hasDuplicateFunctionEntryPoint(f)) as duplicateFunctionEntryPoint,
2222
count(Function f | hasDuplicateFunctionEntryPointLocation(f)) as duplicateFunctionEntryPointLocation,
23-
count(DeclStmt stmt, int i | hasNonUniqueDeclarationEntry(stmt, i)) as nonUniqueDeclarationEntry
23+
count(DeclStmt stmt, int i | hasDuplicateDeclarationEntry(stmt, i)) as duplicateDeclarationEntry

0 commit comments

Comments
 (0)