summaryrefslogtreecommitdiffstats
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
commit579882ae4407377671303f41d861d94d39a36549 (patch)
treec008ef26ebaa40193c5e2ee40a9a3dcb5b68e4b1
parent301decd93d79ab1e8764a46abac16db14225088b (diff)
downloadbcm5719-llvm-579882ae4407377671303f41d861d94d39a36549.tar.gz
bcm5719-llvm-579882ae4407377671303f41d861d94d39a36549.zip
[ASTImporter][NFC] Fix typo in user docs
llvm-svn: 373894
-rw-r--r--clang/docs/LibASTImporter.rst2
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:
OpenPOWER on IntegriCloud