[clang] e492f95 - [docs] Add missing semicolon to example.

Matt Morehouse via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 14 13:46:26 PDT 2020


Author: Matt Morehouse
Date: 2020-08-14T13:46:05-07:00
New Revision: e492f959e0e0930af3745c1e62b7ffc31f5bf29c

URL: https://github.com/llvm/llvm-project/commit/e492f959e0e0930af3745c1e62b7ffc31f5bf29c
DIFF: https://github.com/llvm/llvm-project/commit/e492f959e0e0930af3745c1e62b7ffc31f5bf29c.diff

LOG: [docs] Add missing semicolon to example.

Added: 
    

Modified: 
    clang/docs/DataFlowSanitizer.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/DataFlowSanitizer.rst b/clang/docs/DataFlowSanitizer.rst
index cd8c5869a017..6b5c1e14e134 100644
--- a/clang/docs/DataFlowSanitizer.rst
+++ b/clang/docs/DataFlowSanitizer.rst
@@ -214,7 +214,7 @@ For example:
     assert(ij_label & i_label);  // ij_label has i_label
     assert(ij_label & j_label);  // ij_label has j_label
     assert(!(ij_label & k_label));  // ij_label doesn't have k_label
-    assert(ij_label == 3)  // Verifies all of the above
+    assert(ij_label == 3);  // Verifies all of the above
 
     dfsan_label ijk_label = dfsan_get_label(i + j + k);
 


        


More information about the cfe-commits mailing list