CPP: QLDoc enhancements#2309
Conversation
… figure out how to describe unknown and erroneous types.)
…erations and built-in operations.
…sorted complex number operations, where surface syntax could not be determined.
assorted complex/imaginary arithmetic operations.
…builtin_offsetof.
similar to array initializers.
| */ | ||
| abstract class Assignment extends Operation { | ||
| /** Gets the lvalue of this assignment. */ | ||
| /** Gets the *lvalue* of this assignment. */ |
There was a problem hiding this comment.
Can anyone remember whether we decided to keep this formatting (*lvalue*)?
There was a problem hiding this comment.
We decided against formatting code with asterisks, but I think in this case it's meant to denote italics because lvalue is not an English word. Allows writing italics with single asterisks (bold is double asterisks), but it's more consistent if we stick to underscores, changing this to _lvalue_.
There was a problem hiding this comment.
I've done a search-and-replace to change *lvalue* into _lvalue_ (and similarly for *rvalue* etc).
jbj
left a comment
There was a problem hiding this comment.
I'm not done -- I'll continue reviewing later.
|
I should be clear that none of my comments so far are blocking for this PR. |
| @@ -7,6 +7,9 @@ abstract class UnaryLogicalOperation extends UnaryOperation { } | |||
|
|
|||
| /** | |||
| * A C/C++ logical not expression. | |||
There was a problem hiding this comment.
| * A C/C++ logical not expression. | |
| * A C/C++ logical NOT expression. |
for consistency
There was a problem hiding this comment.
I'm not sure I agree with this one. Do we capitalize 'not' anywhere else?
There was a problem hiding this comment.
The changes right below in the same file change "and" to "AND" and "or" to "OR". The same changes are in BitwiseOperation.qll, although bitwise NOT is called complement there.
There was a problem hiding this comment.
Which would you prefer? I can make a quick follow-up PR to make this consistent either way.
There was a problem hiding this comment.
I prefer NOT because it's consistent with AND/OR and because everyone will understand it.
Co-Authored-By: Jonas Jensen <jbj@github.com>
Co-Authored-By: Jonas Jensen <jbj@github.com>
Co-Authored-By: Jonas Jensen <jbj@github.com>
Co-Authored-By: Jonas Jensen <jbj@github.com>
Co-Authored-By: Jonas Jensen <jbj@github.com>
Co-Authored-By: Jonas Jensen <jbj@github.com>
Co-Authored-By: Jonas Jensen <jbj@github.com>
Co-Authored-By: Jonas Jensen <jbj@github.com>
Co-Authored-By: Jonas Jensen <jbj@github.com>
Co-Authored-By: Jonas Jensen <jbj@github.com>
Co-Authored-By: Jonas Jensen <jbj@github.com>
Co-Authored-By: Jonas Jensen <jbj@github.com>
Co-Authored-By: Jonas Jensen <jbj@github.com>
Co-Authored-By: Jonas Jensen <jbj@github.com>
Co-Authored-By: Jonas Jensen <jbj@github.com>
Co-Authored-By: Jonas Jensen <jbj@github.com>
Co-Authored-By: Jonas Jensen <jbj@github.com>
Co-Authored-By: Jonas Jensen <jbj@github.com>
Co-Authored-By: Jonas Jensen <jbj@github.com>
|
All comments addressed. I'm on holiday tomorrow so ideally this wants to be merged this evening. I'll keep an eye on it. |
This is Zem's PR [CPP-418] QLDoc enhancements with some additional fixes: