diff options
| author | Gabor Marton <gabor.marton@ericsson.com> | 2019-10-07 11:14:53 +0000 |
|---|---|---|
| committer | Gabor Marton <gabor.marton@ericsson.com> | 2019-10-07 11:14:53 +0000 |
| commit | 579882ae4407377671303f41d861d94d39a36549 (patch) | |
| tree | c008ef26ebaa40193c5e2ee40a9a3dcb5b68e4b1 | |
| parent | 301decd93d79ab1e8764a46abac16db14225088b (diff) | |
| download | bcm5719-llvm-579882ae4407377671303f41d861d94d39a36549.tar.gz bcm5719-llvm-579882ae4407377671303f41d861d94d39a36549.zip | |
[ASTImporter][NFC] Fix typo in user docs
llvm-svn: 373894
| -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: |

