From bba9a63012caa3b4bd928a05593ea77f55a513ae Mon Sep 17 00:00:00 2001 From: Gabor Marton Date: Mon, 7 Oct 2019 11:14:53 +0000 Subject: [PATCH] [ASTImporter][NFC] Fix typo in user docs git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373894 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LibASTImporter.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/LibASTImporter.rst b/docs/LibASTImporter.rst index 6593536f2c..9c02b6ae76 100644 --- a/docs/LibASTImporter.rst +++ b/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(Matcher, FromUnit); Now we create the Importer and do the import: -- 2.50.1