diff options
author | Shivam <75530356+phyBrackets@users.noreply.github.com> | 2022-06-26 19:22:52 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-26 19:22:52 +0530 |
commit | 282059b44d003a3e044bdc5c8884797f92bf2eab (patch) | |
tree | a7a789a0c61cc5b2ef054fd79d2489c4566588cb /clang/docs/LibASTImporter.rst | |
parent | b5eaf500f2441eff2277ea2973878fb1f171fd0a (diff) | |
download | llvm-282059b44d003a3e044bdc5c8884797f92bf2eab.zip llvm-282059b44d003a3e044bdc5c8884797f92bf2eab.tar.gz llvm-282059b44d003a3e044bdc5c8884797f92bf2eab.tar.bz2 |
Update LibASTImporter.rst
As my last commit changed the name of ImportError to ASTImportError , this section also needs to be updated so changed it.
Diffstat (limited to 'clang/docs/LibASTImporter.rst')
-rw-r--r-- | clang/docs/LibASTImporter.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/docs/LibASTImporter.rst b/clang/docs/LibASTImporter.rst index bedaf52..515eff7 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<ImportError> OptErr = + Optional<ASTImportError> OptErr = ImporterState->getImportDeclErrorIfAny(ToYDef); assert(OptErr); |