clang 20.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 12138 of file Sema.h.

Constructor & Destructor Documentation

◆ TentativeAnalysisScope()

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

Definition at line 12145 of file Sema.h.

References clang::Sema::DisableTypoCorrection.

◆ ~TentativeAnalysisScope()

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

Definition at line 12150 of file Sema.h.

References clang::Sema::DisableTypoCorrection.


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