clang API Documentation

Public Member Functions
clang::DeducedTemplateArgument Class Reference

Captures a template argument whose value has been deduced via c++ template argument deduction. More...

#include <Template.h>

Inheritance diagram for clang::DeducedTemplateArgument:
Inheritance graph
[legend]
Collaboration diagram for clang::DeducedTemplateArgument:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Captures a template argument whose value has been deduced via c++ template argument deduction.

Definition at line 139 of file Template.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().

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().


The documentation for this class was generated from the following file: