r349648 - [Basic] Correct description of SanitizerSet.empty()
Michal Gorny via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 19 09:25:51 PST 2018
Author: mgorny
Date: Wed Dec 19 09:25:51 2018
New Revision: 349648
URL: http://llvm.org/viewvc/llvm-project?rev=349648&view=rev
Log:
[Basic] Correct description of SanitizerSet.empty()
Differential Revision: https://reviews.llvm.org/D55830
Modified:
cfe/trunk/include/clang/Basic/Sanitizers.h
Modified: cfe/trunk/include/clang/Basic/Sanitizers.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Sanitizers.h?rev=349648&r1=349647&r2=349648&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Sanitizers.h (original)
+++ cfe/trunk/include/clang/Basic/Sanitizers.h Wed Dec 19 09:25:51 2018
@@ -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.
More information about the cfe-commits
mailing list