clang  6.0.0svn
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 7466 of file Sema.h.

Constructor & Destructor Documentation

◆ TentativeAnalysisScope()

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

Definition at line 7472 of file Sema.h.

References clang::Sema::DisableTypoCorrection.

◆ ~TentativeAnalysisScope()

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

Definition at line 7477 of file Sema.h.

References clang::Sema::DisableTypoCorrection.


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