[clang] 282059b - Update LibASTImporter.rst
via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 26 06:52:54 PDT 2022
Author: Shivam
Date: 2022-06-26T19:22:52+05:30
New Revision: 282059b44d003a3e044bdc5c8884797f92bf2eab
URL: https://github.com/llvm/llvm-project/commit/282059b44d003a3e044bdc5c8884797f92bf2eab
DIFF: https://github.com/llvm/llvm-project/commit/282059b44d003a3e044bdc5c8884797f92bf2eab.diff
LOG: Update LibASTImporter.rst
As my last commit changed the name of ImportError to ASTImportError , this section also needs to be updated so changed it.
Added:
Modified:
clang/docs/LibASTImporter.rst
Removed:
################################################################################
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
diff erent 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);
More information about the cfe-commits
mailing list