clang 20.0.0git
|
Context for overloaded matcher construction. More...
#include "clang/ASTMatchers/Dynamic/Diagnostics.h"
Public Member Functions | |
OverloadContext (Diagnostics *Error) | |
~OverloadContext () | |
void | revertErrors () |
Revert all errors that happened within this context. | |
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.
Definition at line 126 of file Diagnostics.h.
clang::ast_matchers::dynamic::Diagnostics::OverloadContext::OverloadContext | ( | Diagnostics * | Error | ) |
Definition at line 41 of file Diagnostics.cpp.
clang::ast_matchers::dynamic::Diagnostics::OverloadContext::~OverloadContext | ( | ) |
Definition at line 44 of file Diagnostics.cpp.
References clang::ast_matchers::dynamic::Diagnostics::ErrorContent::Messages.
void clang::ast_matchers::dynamic::Diagnostics::OverloadContext::revertErrors | ( | ) |
Revert all errors that happened within this context.
Definition at line 55 of file Diagnostics.cpp.
Referenced by clang::ast_matchers::dynamic::internal::OverloadedMatcherDescriptor::create().