clang  3.7.0
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 <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 6775 of file Sema.h.

Constructor & Destructor Documentation

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

Definition at line 6781 of file Sema.h.

References clang::Sema::DisableTypoCorrection.

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

Definition at line 6786 of file Sema.h.

References clang::Sema::DisableTypoCorrection.


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