|
clang 22.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 139 of file ASTImporter.cpp.
|
inline |
Definition at line 151 of file ASTImporter.cpp.
References clang::isa().
|
inline |
Definition at line 153 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 161 of file ASTImporter.cpp.
References clang::Error.
Referenced by clang::ASTNodeImporter::ImportDeclContext().
Determine if import failure of a child does not cause import failure of its parent.
Definition at line 170 of file ASTImporter.cpp.