summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/misc/AssertSideEffectCheck.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/clang-tidy/misc/AssertSideEffectCheck.h')
-rw-r--r--clang-tools-extra/clang-tidy/misc/AssertSideEffectCheck.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang-tools-extra/clang-tidy/misc/AssertSideEffectCheck.h b/clang-tools-extra/clang-tidy/misc/AssertSideEffectCheck.h
index 372a51b30ed..4d0be43a63e 100644
--- a/clang-tools-extra/clang-tidy/misc/AssertSideEffectCheck.h
+++ b/clang-tools-extra/clang-tidy/misc/AssertSideEffectCheck.h
@@ -21,15 +21,15 @@ namespace tidy {
/// \brief Finds \c assert() with side effect.
///
/// The condition of \c assert() is evaluated only in debug builds so a
-/// condition with side effect can cause different behaviour in debug / relesase
+/// condition with side effect can cause different behavior in debug / release
/// builds.
///
/// There are two options:
-/// - AssertMacros: AssertMacros: A comma-separated list of the names of assert
-/// macros to be checked.
+/// - AssertMacros: A comma-separated list of the names of assert macros to be
+/// checked.
/// - CheckFunctionCalls: Whether to treat non-const member and non-member
-/// functions as they produce side effects. Disabled by default
-/// because it can increase the number of false positive warnings.
+/// functions as they produce side effects. Disabled by default because it can
+/// increase the number of false positive warnings.
class AssertSideEffectCheck : public ClangTidyCheck {
public:
OpenPOWER on IntegriCloud