[PATCH] D55830: [clang] [Basic] Correct description of SanitizerSet.empty()

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 18 08:58:28 PST 2018


mgorny created this revision.
mgorny added reviewers: bkramer, samsonov, krytarowski.

It seems to have gotten inverted.


Repository:
  rC Clang

https://reviews.llvm.org/D55830

Files:
  include/clang/Basic/Sanitizers.h


Index: include/clang/Basic/Sanitizers.h
===================================================================
--- include/clang/Basic/Sanitizers.h
+++ include/clang/Basic/Sanitizers.h
@@ -66,7 +66,7 @@
   /// Disable the sanitizers specified in \p K.
   void clear(SanitizerMask K = SanitizerKind::All) { Mask &= ~K; }
 
-  /// Returns true if at least one sanitizer is enabled.
+  /// Returns true if no sanitizers are enabled.
   bool empty() const { return Mask == 0; }
 
   /// Bitmask of enabled sanitizers.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55830.178694.patch
Type: text/x-patch
Size: 511 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181218/97510be5/attachment.bin>


More information about the cfe-commits mailing list