class Sema::TentativeAnalysisScope

Declaration

class Sema::TentativeAnalysisScope { /* full declaration omitted */ };

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.

Declared at: clang/include/clang/Sema/Sema.h:9463

Member Variables

private clang::Sema& SemaRef
private clang::Sema::SFINAETrap Trap
private bool PrevDisableTypoCorrection

Method Overview

Methods

TentativeAnalysisScope(clang::Sema& SemaRef)

Declared at: clang/include/clang/Sema/Sema.h:9469

Parameters

clang::Sema& SemaRef

~TentativeAnalysisScope()

Declared at: clang/include/clang/Sema/Sema.h:9474