Skip to content

Commit 2f7526d

Browse files
committed
C++: Clarify doc comment and make build-mode: nonereferences more consistent.
1 parent 4a39055 commit 2f7526d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cpp/ql/lib/semmle/code/cpp/Function.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,8 +526,8 @@ class Function extends Declaration, ControlFlowNode, AccessHolder, @function {
526526
}
527527

528528
/**
529-
* Holds if this function has ambiguous return type (this occurs sometimes in
530-
* Build Mode None).
529+
* Holds if this function has an ambiguous return type, meaning that zero or multiple return
530+
* types for this function are present in the database (this can occur in `build-mode: none`).
531531
*/
532532
predicate hasAmbiguousReturnType() {
533533
count(this.getType()) != 1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
category: minorAnalysis
33
---
4-
* Fixed an issue with the "Multiplication result converted to larger type" (`cpp/integer-multiplication-cast-to-long`) query causing false positive results in Build Mode Node databases.
4+
* Fixed an issue with the "Multiplication result converted to larger type" (`cpp/integer-multiplication-cast-to-long`) query causing false positive results in `build-mode: none` databases.

0 commit comments

Comments
 (0)