clang  12.0.0git
Public Member Functions | List of all members
clang::Sema::RequiredTemplateKind Class Reference

Whether and why a template name is required in this lookup. More...

#include "clang/Sema/Sema.h"

Public Member Functions

 RequiredTemplateKind (SourceLocation TemplateKWLoc=SourceLocation())
 Template name is required if TemplateKWLoc is valid. More...
 
 RequiredTemplateKind (TemplateNameIsRequiredTag)
 Template name is unconditionally required. More...
 
SourceLocation getTemplateKeywordLoc () const
 
bool hasTemplateKeyword () const
 
bool isRequired () const
 
 operator bool () const
 

Detailed Description

Whether and why a template name is required in this lookup.

Definition at line 7114 of file Sema.h.

Constructor & Destructor Documentation

◆ RequiredTemplateKind() [1/2]

clang::Sema::RequiredTemplateKind::RequiredTemplateKind ( SourceLocation  TemplateKWLoc = SourceLocation())
inline

Template name is required if TemplateKWLoc is valid.

Definition at line 7117 of file Sema.h.

◆ RequiredTemplateKind() [2/2]

clang::Sema::RequiredTemplateKind::RequiredTemplateKind ( TemplateNameIsRequiredTag  )
inline

Template name is unconditionally required.

Definition at line 7120 of file Sema.h.

Member Function Documentation

◆ getTemplateKeywordLoc()

SourceLocation clang::Sema::RequiredTemplateKind::getTemplateKeywordLoc ( ) const
inline

Definition at line 7122 of file Sema.h.

◆ hasTemplateKeyword()

bool clang::Sema::RequiredTemplateKind::hasTemplateKeyword ( ) const
inline

Definition at line 7125 of file Sema.h.

◆ isRequired()

bool clang::Sema::RequiredTemplateKind::isRequired ( ) const
inline

Definition at line 7126 of file Sema.h.

◆ operator bool()

clang::Sema::RequiredTemplateKind::operator bool ( ) const
inlineexplicit

Definition at line 7127 of file Sema.h.


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