clang API Documentation
Captures a template argument whose value has been deduced via c++ template argument deduction. More...
#include <Template.h>
Public Member Functions | |
DeducedTemplateArgument () | |
DeducedTemplateArgument (const TemplateArgument &Arg, bool DeducedFromArrayBound=false) | |
DeducedTemplateArgument (ASTContext &Ctx, const llvm::APSInt &Value, QualType ValueType, bool DeducedFromArrayBound) | |
Construct an integral non-type template argument that has been deduced, possibly from an array bound. | |
bool | wasDeducedFromArrayBound () const |
For a non-type template argument, determine whether the template argument was deduced from an array bound. | |
void | setDeducedFromArrayBound (bool Deduced) |
Specify whether the given non-type template argument was deduced from an array bound. |
Captures a template argument whose value has been deduced via c++ template argument deduction.
Definition at line 139 of file Template.h.
Definition at line 145 of file Template.h.
clang::DeducedTemplateArgument::DeducedTemplateArgument | ( | const TemplateArgument & | Arg, |
bool | DeducedFromArrayBound = false |
||
) | [inline] |
Definition at line 148 of file Template.h.
clang::DeducedTemplateArgument::DeducedTemplateArgument | ( | ASTContext & | Ctx, |
const llvm::APSInt & | Value, | ||
QualType | ValueType, | ||
bool | DeducedFromArrayBound | ||
) | [inline] |
Construct an integral non-type template argument that has been deduced, possibly from an array bound.
Definition at line 154 of file Template.h.
void clang::DeducedTemplateArgument::setDeducedFromArrayBound | ( | bool | Deduced | ) | [inline] |
Specify whether the given non-type template argument was deduced from an array bound.
Definition at line 167 of file Template.h.
Referenced by ConvertDeducedTemplateArgument().
bool clang::DeducedTemplateArgument::wasDeducedFromArrayBound | ( | ) | const [inline] |
For a non-type template argument, determine whether the template argument was deduced from an array bound.
Definition at line 163 of file Template.h.
Referenced by checkDeducedTemplateArguments(), and ConvertDeducedTemplateArgument().