Update LibASTImporter.rst

As my last commit changed the name of ImportError to ASTImportError , this section also needs to be updated so changed it.
This commit is contained in:
Shivam
2022-06-26 19:22:52 +05:30
committed by GitHub
parent b5eaf500f2
commit 282059b44d

View File

@@ -468,7 +468,7 @@ Note, there may be several different ASTImporter objects which import into the s
cxxRecordDecl(hasName("Y"), isDefinition()), ToUnit);
ToYDef->dump();
// An error is set for "ToYDef" in the shared state.
Optional<ImportError> OptErr =
Optional<ASTImportError> OptErr =
ImporterState->getImportDeclErrorIfAny(ToYDef);
assert(OptErr);