Skip to content

2.9 Mergeback #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion c/cert/src/qlpack.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: cert-c-coding-standards
version: 2.9.0-dev
version: 2.9.0
suites: codeql-suites
libraryPathDependencies: common-c-coding-standards
2 changes: 1 addition & 1 deletion c/cert/test/qlpack.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: cert-c-coding-standards-tests
version: 2.9.0-dev
version: 2.9.0
libraryPathDependencies: cert-c-coding-standards
extractor: cpp
2 changes: 1 addition & 1 deletion c/common/src/qlpack.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: common-c-coding-standards
version: 2.9.0-dev
version: 2.9.0
libraryPathDependencies: common-cpp-coding-standards
2 changes: 1 addition & 1 deletion c/common/test/qlpack.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: common-c-coding-standards-tests
version: 2.9.0-dev
version: 2.9.0
libraryPathDependencies: common-c-coding-standards
extractor: cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| test.c:2:5:2:36 | iltiqzxgfqsgigwfuyntzghvzltueeeB | test.c:1:5:1:36 | iltiqzxgfqsgigwfuyntzghvzltueeeA | External identifer iltiqzxgfqsgigwfuyntzghvzltueeeB is nondistinct in characters at or over 31 limit, compared to iltiqzxgfqsgigwfuyntzghvzltueeeA |
| test.c:5:5:5:35 | iltiqzxgfqsgigwfuyntzghvzltueea | test.c:4:5:4:36 | iltiqzxgfqsgigwfuyntzghvzltueeaZ | External identifer iltiqzxgfqsgigwfuyntzghvzltueea is nondistinct in characters at or over 31 limit, compared to iltiqzxgfqsgigwfuyntzghvzltueeaZ |
| test.c:8:5:8:35 | iltiqzxgfqsgigwfuyntzghvzltueee | test.c:1:5:1:36 | iltiqzxgfqsgigwfuyntzghvzltueeeA | External identifer iltiqzxgfqsgigwfuyntzghvzltueee is nondistinct in characters at or over 31 limit, compared to iltiqzxgfqsgigwfuyntzghvzltueeeA |
| test.c:8:5:8:35 | iltiqzxgfqsgigwfuyntzghvzltueee | test.c:2:5:2:36 | iltiqzxgfqsgigwfuyntzghvzltueeeB | External identifer iltiqzxgfqsgigwfuyntzghvzltueee is nondistinct in characters at or over 31 limit, compared to iltiqzxgfqsgigwfuyntzghvzltueeeB |
| test.c:2:5:2:36 | iltiqzxgfqsgigwfuyntzghvzltueeeB | External identifer iltiqzxgfqsgigwfuyntzghvzltueeeB is nondistinct in characters at or over 31 limit, compared to $@ | test.c:1:5:1:36 | iltiqzxgfqsgigwfuyntzghvzltueeeA | iltiqzxgfqsgigwfuyntzghvzltueeeA |
| test.c:5:5:5:35 | iltiqzxgfqsgigwfuyntzghvzltueea | External identifer iltiqzxgfqsgigwfuyntzghvzltueea is nondistinct in characters at or over 31 limit, compared to $@ | test.c:4:5:4:36 | iltiqzxgfqsgigwfuyntzghvzltueeaZ | iltiqzxgfqsgigwfuyntzghvzltueeaZ |
| test.c:8:5:8:35 | iltiqzxgfqsgigwfuyntzghvzltueee | External identifer iltiqzxgfqsgigwfuyntzghvzltueee is nondistinct in characters at or over 31 limit, compared to $@ | test.c:1:5:1:36 | iltiqzxgfqsgigwfuyntzghvzltueeeA | iltiqzxgfqsgigwfuyntzghvzltueeeA |
| test.c:8:5:8:35 | iltiqzxgfqsgigwfuyntzghvzltueee | External identifer iltiqzxgfqsgigwfuyntzghvzltueee is nondistinct in characters at or over 31 limit, compared to $@ | test.c:2:5:2:36 | iltiqzxgfqsgigwfuyntzghvzltueeeB | iltiqzxgfqsgigwfuyntzghvzltueeeB |
2 changes: 1 addition & 1 deletion c/misra/src/qlpack.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: misra-c-coding-standards
version: 2.9.0-dev
version: 2.9.0
suites: codeql-suites
libraryPathDependencies: common-c-coding-standards
2 changes: 1 addition & 1 deletion c/misra/test/qlpack.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: misra-c-coding-standards-tests
version: 2.9.0-dev
version: 2.9.0
libraryPathDependencies: misra-c-coding-standards
extractor: cpp
2 changes: 1 addition & 1 deletion cpp/autosar/src/qlpack.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: autosar-cpp-coding-standards
version: 2.9.0-dev
version: 2.9.0
suites: codeql-suites
libraryPathDependencies: common-cpp-coding-standards
2 changes: 1 addition & 1 deletion cpp/autosar/test/qlpack.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: autosar-cpp-coding-standards-tests
version: 2.9.0-dev
version: 2.9.0
libraryPathDependencies: autosar-cpp-coding-standards
extractor: cpp
2 changes: 1 addition & 1 deletion cpp/cert/src/qlpack.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: cert-cpp-coding-standards
version: 2.9.0-dev
version: 2.9.0
suites: codeql-suites
libraryPathDependencies: common-cpp-coding-standards
2 changes: 1 addition & 1 deletion cpp/cert/test/qlpack.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: cert-cpp-coding-standards-tests
version: 2.9.0-dev
version: 2.9.0
libraryPathDependencies: cert-cpp-coding-standards
extractor: cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,17 @@ abstract class NotDistinctIdentifierSharedQuery extends Query { }

Query getQuery() { result instanceof NotDistinctIdentifierSharedQuery }

query predicate problems(ExternalIdentifiers d, ExternalIdentifiers d2, string message) {
not isExcluded(d, getQuery()) and
query predicate problems(
ExternalIdentifiers d, string message, ExternalIdentifiers d2, string nameplaceholder
) {
not isExcluded(d, getQuery()) and
not isExcluded(d2, getQuery()) and
not d = d2 and
d.getLocation().getStartLine() >= d2.getLocation().getStartLine() and
d.getSignificantName() = d2.getSignificantName() and
not d.getName() = d2.getName() and
nameplaceholder = d2.getName() and
message =
"External identifer " + d.getName() +
" is nondistinct in characters at or over 31 limit, compared to " + d2.getName()
" is nondistinct in characters at or over 31 limit, compared to $@"
}
2 changes: 1 addition & 1 deletion cpp/common/src/qlpack.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: common-cpp-coding-standards
version: 2.9.0-dev
version: 2.9.0
libraryPathDependencies: codeql-cpp
2 changes: 1 addition & 1 deletion cpp/common/test/qlpack.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: common-cpp-coding-standards-tests
version: 2.9.0-dev
version: 2.9.0
libraryPathDependencies: common-cpp-coding-standards
extractor: cpp
2 changes: 1 addition & 1 deletion cpp/misra/src/qlpack.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: misra-cpp-coding-standards
version: 2.9.0-dev
version: 2.9.0
libraryPathDependencies: common-cpp-coding-standards
2 changes: 1 addition & 1 deletion cpp/misra/test/qlpack.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: misra-cpp-coding-standards-tests
version: 2.9.0-dev
version: 2.9.0
libraryPathDependencies: misra-cpp-coding-standards
extractor: cpp
2 changes: 1 addition & 1 deletion cpp/report/src/qlpack.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: report-cpp-coding-standards
version: 2.9.0-dev
version: 2.9.0
libraryPathDependencies: codeql-cpp