-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Override style guide citations #817
base: master
Are you sure you want to change the base?
Override style guide citations #817
Conversation
c0764fa
to
198b208
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First quick round of comments.
verilog/analysis/verilog_linter.cc
Outdated
@@ -332,10 +333,51 @@ absl::Status PrintRuleInfo(std::ostream* os, | |||
return absl::OkStatus(); | |||
} | |||
|
|||
static void AppendCitation(CustomCitationMap& citations, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Output parameters should usually be at the end;
Also it is custom in this code-base to have output parameters pointers instead of references, but given that this is a static helper function used right afterwards, the confusion about it being a reference is probably not that big, so if you really prefer the reference, keep it :)
…function that parse the citations file
b58a5b3
to
565ee92
Compare
Fixes: Override style-guide citation links and references #519