clang  19.0.0git
Public Member Functions | List of all members
clang::Sema::TentativeAnalysisScope Class Reference

RAII class used to indicate that we are performing provisional semantic analysis to determine the validity of a construct, so typo-correction and diagnostics in the immediate context (not within implicitly-instantiated templates) should be suppressed. More...

#include "clang/Sema/Sema.h"

Public Member Functions

 TentativeAnalysisScope (Sema &SemaRef)
 
 ~TentativeAnalysisScope ()
 

Detailed Description

RAII class used to indicate that we are performing provisional semantic analysis to determine the validity of a construct, so typo-correction and diagnostics in the immediate context (not within implicitly-instantiated templates) should be suppressed.

Definition at line 9649 of file Sema.h.

Constructor & Destructor Documentation

◆ TentativeAnalysisScope()

clang::Sema::TentativeAnalysisScope::TentativeAnalysisScope ( Sema SemaRef)
inlineexplicit

Definition at line 9656 of file Sema.h.

References clang::Sema::DisableTypoCorrection, and clang::SemaBase::SemaRef.

◆ ~TentativeAnalysisScope()

clang::Sema::TentativeAnalysisScope::~TentativeAnalysisScope ( )
inline

Definition at line 9661 of file Sema.h.

References clang::Sema::DisableTypoCorrection, and clang::SemaBase::SemaRef.


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