clang 20.0.0git
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.
 

Detailed Description

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

Definition at line 12099 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

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