-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
C++: Handle requires clauses and type template type constraints #18368
Conversation
09c0791
to
56b3e70
Compare
a77b8f6
to
347edc4
Compare
bf19755
to
bf7dd9b
Compare
bf7dd9b
to
0a292fb
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.
Copilot reviewed 6 out of 13 changed files in this pull request and generated no comments.
Files not reviewed (7)
- cpp/downgrades/dd32242a870867a532bb0b2a88a6a917a5b4c26f/upgrade.properties: Language not supported
- cpp/ql/lib/semmle/code/cpp/Function.qll: Language not supported
- cpp/ql/lib/semmle/code/cpp/TemplateParameter.qll: Language not supported
- cpp/ql/lib/semmle/code/cpp/UserType.qll: Language not supported
- cpp/ql/lib/semmle/code/cpp/Variable.qll: Language not supported
- cpp/ql/lib/semmlecode.cpp.dbscheme: Language not supported
- cpp/ql/lib/upgrades/1a4bbe5ded083b9de87911c155fc99ca22ecb0ce/upgrade.properties: Language not supported
Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more
@@ -715,6 +715,27 @@ class FunctionDeclarationEntry extends DeclarationEntry, @fun_decl { | |||
* specification. | |||
*/ | |||
predicate isNoExcept() { fun_decl_empty_noexcept(underlyingElement(this)) } | |||
|
|||
/** | |||
* Gets a requires clause if this declaration is a template with such a clause. |
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.
I'm totally fine with the text, but sometimes if this declaration is a template with such a clause
can be written as , if any.
Pull Request checklist
All query authors
.qhelp
. See the documentation in this repository.Internal query authors only
.ql
,.qll
, or.qhelp
files. See the documentation (internal access required).