summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabor Marton <gabor.marton@ericsson.com>2019-10-07 11:14:53 +0000
committerGabor Marton <gabor.marton@ericsson.com>2019-10-07 11:14:53 +0000
commitbba9a63012caa3b4bd928a05593ea77f55a513ae (patch)
treea1c45f0a03c631f0f85ffc718504e00773bc1f3b /docs
parentad1f33d8a55052cc290a5aef16870c34a649941b (diff)
downloadclang-bba9a63012caa3b4bd928a05593ea77f55a513ae.tar.gz
[ASTImporter][NFC] Fix typo in user docs
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373894 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LibASTImporter.rst2
1 files changed, 1 insertions, 1 deletions
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<CXXRecordDecl>(Matcher, FromUnit);
Now we create the Importer and do the import: