C++: Add QLDoc.

This commit is contained in:
Mathias Vorreiter Pedersen
2023-02-14 09:38:43 +00:00
parent 0a3f958849
commit ffef81bc47

View File

@@ -1678,10 +1678,13 @@ class UnionContent extends Content, TUnionContent {
indirectionIndex > 1 and result = u.toString() + " indirection"
}
/** Gets a field of the underlying union of this `UnionContent`, if any. */
Field getAField() { result = u.getAField() }
/** Gets the underlying union of this `UnionContent`. */
Union getUnion() { result = u }
/** Gets the indirection index of this `UnionContent`. */
pragma[inline]
int getIndirectionIndex() {
pragma[only_bind_into](result) = pragma[only_bind_out](indirectionIndex)