clang 20.0.0git
|
How to handle import errors that occur when import of a child declaration of a DeclContext fails. More...
Public Member Functions | |
ChildErrorHandlingStrategy (const DeclContext *FromDC) | |
ChildErrorHandlingStrategy (const Decl *FromD) | |
void | handleChildImportResult (Error &ResultErr, Error &&ChildErr) |
Process the import result of a child (of the current declaration). | |
bool | ignoreChildErrorOnParent (Decl *FromChildD) const |
Determine if import failure of a child does not cause import failure of its parent. | |
How to handle import errors that occur when import of a child declaration of a DeclContext fails.
Definition at line 140 of file ASTImporter.cpp.
|
inline |
Definition at line 152 of file ASTImporter.cpp.
References clang::isa().
|
inline |
Definition at line 154 of file ASTImporter.cpp.
References clang::isa().
|
inline |
Process the import result of a child (of the current declaration).
ResultErr | The import error that can be used as result of importing the parent. This may be changed by the function. |
ChildErr | Result of importing a child. Can be success or error. |
Definition at line 162 of file ASTImporter.cpp.
Referenced by clang::ASTNodeImporter::ImportDeclContext().
Determine if import failure of a child does not cause import failure of its parent.
Definition at line 171 of file ASTImporter.cpp.
References clang::DeclContext::containsDecl().