C++: Clarify doc comment and make build-mode: nonereferences more consistent.

This commit is contained in:
Geoffrey White
2026-03-16 16:38:29 +00:00
parent 4a39055322
commit 2f7526d70b
2 changed files with 3 additions and 3 deletions

View File

@@ -526,8 +526,8 @@ class Function extends Declaration, ControlFlowNode, AccessHolder, @function {
}
/**
* Holds if this function has ambiguous return type (this occurs sometimes in
* Build Mode None).
* Holds if this function has an ambiguous return type, meaning that zero or multiple return
* types for this function are present in the database (this can occur in `build-mode: none`).
*/
predicate hasAmbiguousReturnType() {
count(this.getType()) != 1