From 282059b44d003a3e044bdc5c8884797f92bf2eab Mon Sep 17 00:00:00 2001 From: Shivam <75530356+phyBrackets@users.noreply.github.com> Date: Sun, 26 Jun 2022 19:22:52 +0530 Subject: [PATCH] Update LibASTImporter.rst As my last commit changed the name of ImportError to ASTImportError , this section also needs to be updated so changed it. --- clang/docs/LibASTImporter.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/docs/LibASTImporter.rst b/clang/docs/LibASTImporter.rst index bedaf527f5e9..515eff7ebe33 100644 --- a/clang/docs/LibASTImporter.rst +++ b/clang/docs/LibASTImporter.rst @@ -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 OptErr = + Optional OptErr = ImporterState->getImportDeclErrorIfAny(ToYDef); assert(OptErr);