clang API Documentation
Context for overloaded matcher construction. More...
#include <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 122 of file Diagnostics.h.
Definition at line 43 of file Diagnostics.cpp.
Definition at line 46 of file Diagnostics.cpp.
References clang::diag::Error, and clang::ast_matchers::dynamic::Diagnostics::ErrorContent::Messages.
Revert all errors that happened within this context.
Definition at line 57 of file Diagnostics.cpp.
References clang::diag::Error.
Referenced by clang::ast_matchers::dynamic::internal::OverloadedMatcherDescriptor::create().