summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/misc/AssertSideEffectCheck.h
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2015-08-18 16:43:07 +0000
committerAlexander Kornienko <alexfh@google.com>2015-08-18 16:43:07 +0000
commitfc8cd685e1fe64bc8ed537c5eef0c1c3a9d40a6d (patch)
tree3ceaea02f3f743284088d20adf2de3117280ffe1 /clang-tools-extra/clang-tidy/misc/AssertSideEffectCheck.h
parent6ac4ea4d2925155d390a65186d6d3b31218fedad (diff)
downloadbcm5719-llvm-fc8cd685e1fe64bc8ed537c5eef0c1c3a9d40a6d.tar.gz
bcm5719-llvm-fc8cd685e1fe64bc8ed537c5eef0c1c3a9d40a6d.zip
[clang-tidy] Fixed typos and formatting in a comment. NFC
llvm-svn: 245310
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