struct Diagnostics::OverloadContext

Declaration

struct Diagnostics::OverloadContext { /* full declaration omitted */ };

Description

Context for overloaded matcher construction. This context will take care of merging all errors that happen within it as "candidate" overloads for the same matcher.

Declared at: clang/include/clang/ASTMatchers/Dynamic/Diagnostics.h:126

Member Variables

private clang::ast_matchers::dynamic::Diagnostics* const Error
private unsigned int BeginIndex

Method Overview

Methods

OverloadContext(
    clang::ast_matchers::dynamic::Diagnostics*
        Error)

Declared at: clang/include/clang/ASTMatchers/Dynamic/Diagnostics.h:128

Parameters

clang::ast_matchers::dynamic::Diagnostics* Error

void revertErrors()

Description

Revert all errors that happened within this context.

Declared at: clang/include/clang/ASTMatchers/Dynamic/Diagnostics.h:132

~OverloadContext()

Declared at: clang/include/clang/ASTMatchers/Dynamic/Diagnostics.h:129