We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f70f32e commit cfe86bfCopy full SHA for cfe86bf
cpp/ql/src/semmle/code/cpp/Element.qll
@@ -65,11 +65,10 @@ class ElementBase extends @element {
65
* which they belong; for example, `AddExpr` is a primary class, but
66
* `BinaryOperation` is not.
67
*
68
- * This predicate always has a result. If no primary class can be
69
- * determined, the result is `"???"`. If multiple primary classes match,
70
- * this predicate can have multiple results.
+ * This predicate can have multiple results if multiple primary classes match.
+ * For some elements, this predicate may not exist.
71
*/
72
- string getAPrimaryQlClass() { result = "???" }
+ string getAPrimaryQlClass() { none() }
73
}
74
75
/**
0 commit comments