[PATCH] D124738: [Documentation][Clang] Clang LibASTMatchers tutorial typo fix

Domján Dániel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 10 01:22:44 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG1d3d5ecea5f0: [Documentation] Fixed typos in LibASTMatchers tutorial (authored by isuckatcs).
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124738/new/

https://reviews.llvm.org/D124738

Files:
  clang/docs/LibASTMatchersTutorial.rst


Index: clang/docs/LibASTMatchersTutorial.rst
===================================================================
--- clang/docs/LibASTMatchersTutorial.rst
+++ clang/docs/LibASTMatchersTutorial.rst
@@ -399,7 +399,7 @@
 
 .. code-block:: c++
 
-      hasCondition(binaryOperator(hasOperatorName("<"))
+      hasCondition(binaryOperator(hasOperatorName("<")))
 
 It makes sense to ensure that the left-hand side is a reference to a
 variable, and that the right-hand side has integer type.
@@ -529,7 +529,7 @@
       }
 
 If execution reaches the end of ``LoopPrinter::run()``, we know that the
-loop shell that looks like
+loop shell looks like
 
 .. code-block:: c++
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124738.435830.patch
Type: text/x-patch
Size: 668 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220610/e498644d/attachment.bin>


More information about the cfe-commits mailing list