diff options
-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 6593536f2cc..9c02b6ae76e 100644 --- a/clang/docs/LibASTImporter.rst +++ b/clang/docs/LibASTImporter.rst @@ -106,7 +106,7 @@ Next, we define a matcher to match ``MyClass`` in the "from" context: .. code-block:: cpp - auto Matcher = cxxRecordDecl(hasName("C")); + auto Matcher = cxxRecordDecl(hasName("MyClass")); auto *From = getFirstDecl<CXXRecordDecl>(Matcher, FromUnit); Now we create the Importer and do the import: |