]> granicus.if.org Git - clang/commitdiff
[Basic] Correct description of SanitizerSet.empty()
authorMichal Gorny <mgorny@gentoo.org>
Wed, 19 Dec 2018 17:25:51 +0000 (17:25 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Wed, 19 Dec 2018 17:25:51 +0000 (17:25 +0000)
Differential Revision: https://reviews.llvm.org/D55830

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@349648 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Sanitizers.h

index 2ecbde821599de5f67405f5aee28ebeac2d099db..fe9e76a1e325a871621ffd9d6505d1c8e8dd31f3 100644 (file)
@@ -66,7 +66,7 @@ struct SanitizerSet {
   /// 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.