[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

llvm-svn: 349648

clang/include/clang/Basic/Sanitizers.h

index 2ecbde8..fe9e76a 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.