Package Declarations1#39
Conversation
Notes DCL37-CI did not implement the future library directions restrictions for this rule, and described that in the implementation notes, however if it seems like these would be crucial, I can add those |
Notes DCL31-CSOLVED: not supporting gcc currently - "check for implicit function declarations" will not be checked by this rule. currently not supporting "check for implicit function declarations" portion of the rule, only supporting "Omission of type specifiers" portion I need a reminder for what to do if our test setup doesnt compile a certain test, but other compilers do compiles with: but |
RULE-5-1 notessome perf issue maybe exists for this one currently, related to joining on names I think, but was hoping that external identifiers subclass was a small enough set to avoid this |
lcartey
left a comment
There was a problem hiding this comment.
I made a first pass review, and added a few comments. I will take a further look tomorrow morning, but it's already looking good. 👍
lcartey
left a comment
There was a problem hiding this comment.
Review completed. Good job overall. Only major feedback was on Rule 5.1, which I think needs some refining to handle performance issues, mixed C/C++ code and edge cases around multiple declarations.
|
"Ok, let's add an issue to this repository to investigate using a different data source for the C standard library names." |
…for RULE-5-1 and RULE-5-4
lcartey
left a comment
There was a problem hiding this comment.
Sorry, just a couple more things! Thank you!
lcartey
left a comment
There was a problem hiding this comment.
Looks good, thanks for the changes!
Description
Package Declarations1
Change request type
.ql,.qll,.qlsor unit tests)Rules with added or modified queries
Release change checklist
A change note (development_handbook.md#change-notes) is required for any pull request which modifies:
If you are only adding new rule queries, a change note is not required.
Author: Is a change note required?
Reviewer: Confirm that either a change note is not required or the change note is required and has been added.
Query development review checklist
For PRs that add new queries or modify existing queries, the following checklist should be completed by both the author and reviewer:
Author
As a rule of thumb, predicates specific to the query should take no more than 1 minute, and for simple queries be under 10 seconds. If this is not the case, this should be highlighted and agreed in the code review process.
Reviewer
As a rule of thumb, predicates specific to the query should take no more than 1 minute, and for simple queries be under 10 seconds. If this is not the case, this should be highlighted and agreed in the code review process.