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 (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 140 of file Template.h.


Constructor & Destructor Documentation

clang::DeducedTemplateArgument::DeducedTemplateArgument ( ) [inline]

Definition at line 146 of file Template.h.

clang::DeducedTemplateArgument::DeducedTemplateArgument ( const TemplateArgument Arg,
bool  DeducedFromArrayBound = false 
) [inline]

Definition at line 149 of file Template.h.

clang::DeducedTemplateArgument::DeducedTemplateArgument ( 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 155 of file Template.h.


Member Function Documentation

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


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