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++
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++
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits