C++: Apply suggestions from code review

Co-Authored-By: Jonas Jensen <jbj@knef.dk>
This commit is contained in:
Robert Marsh
2019-10-08 10:40:08 -07:00
committed by GitHub
parent d8f539d78b
commit a90e8684e4
3 changed files with 7 additions and 7 deletions

View File

@@ -3,7 +3,7 @@ Using the guards library in C and C++
Overview
--------
The guards library (defined in ``semmle.code.cpp.controlflow.Guards``) provides a class ``GuardCondition`` representing boolean values which are used to make control flow decisions.
The guards library (defined in ``semmle.code.cpp.controlflow.Guards``) provides a class ``GuardCondition`` representing Boolean values that are used to make control flow decisions.
The ``ensuresEq`` and ``ensuresLt`` predicates
----------------------------------------------
@@ -26,4 +26,4 @@ The ``comparesEq`` and ``comparesLt`` predicates help determine if the ``GuardCo
The ``controls`` predicate
------------------------------------------------
The ``controls`` predicate helps determine which blocks are only run when the ``IRGuardCondition`` evaluates a certain way. ``controls(block, testIsTrue)`` holds if ``block`` is only entered if the value of this condition is ``testIsTrue``.
The ``controls`` predicate helps determine which blocks are only run when the ``IRGuardCondition`` evaluates a certain way. ``controls(block, testIsTrue)`` holds if ``block`` is only entered if the value of this condition is ``testIsTrue``.