clang  6.0.0svn
Public Member Functions | List of all members
clang::Sema::SFINAETrap Class Reference

RAII class used to determine whether SFINAE has trapped any errors that occur during template argument deduction. More...

#include "clang/Sema/Sema.h"

Public Member Functions

 SFINAETrap (Sema &SemaRef, bool AccessCheckingSFINAE=false)
 
 ~SFINAETrap ()
 
bool hasErrorOccurred () const
 Determine whether any SFINAE errors have been trapped. More...
 

Detailed Description

RAII class used to determine whether SFINAE has trapped any errors that occur during template argument deduction.

Definition at line 7426 of file Sema.h.

Constructor & Destructor Documentation

◆ SFINAETrap()

clang::Sema::SFINAETrap::SFINAETrap ( Sema SemaRef,
bool  AccessCheckingSFINAE = false 
)
inlineexplicit

◆ ~SFINAETrap()

clang::Sema::SFINAETrap::~SFINAETrap ( )
inline

Member Function Documentation

◆ hasErrorOccurred()

bool clang::Sema::SFINAETrap::hasErrorOccurred ( ) const
inline

Determine whether any SFINAE errors have been trapped.

Definition at line 7457 of file Sema.h.

References clang::Sema::NumSFINAEErrors.

Referenced by clang::Sema::BuildMemberReferenceExpr(), clang::Sema::DeduceTemplateArguments(), and EvaluateBinaryTypeTrait().


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