mirror of
https://github.com/github/codeql.git
synced 2026-03-18 05:26:45 +01:00
C++: Add getTemplateClass to DeductionGuide
This commit is contained in:
@@ -898,4 +898,11 @@ class UserDefinedLiteral extends Function {
|
||||
*/
|
||||
class DeductionGuide extends Function {
|
||||
DeductionGuide() { functions(underlyingElement(this), _, 8) }
|
||||
|
||||
/**
|
||||
* Gets the class template for which this is a deduction guide.
|
||||
*/
|
||||
TemplateClass getTemplateClass() {
|
||||
deduction_guide_for_class(underlyingElement(this), unresolveElement(result))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user