[clang-tidy] Fixed typos and formatting in a comment. NFC

llvm-svn: 245310
This commit is contained in:
Alexander Kornienko 2015-08-18 16:43:07 +00:00
parent 6ac4ea4d29
commit fc8cd685e1
1 changed files with 5 additions and 5 deletions

View File

@ -21,15 +21,15 @@ namespace tidy {
/// \brief Finds \c assert() with side effect. /// \brief Finds \c assert() with side effect.
/// ///
/// The condition of \c assert() is evaluated only in debug builds so a /// 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. /// builds.
/// ///
/// There are two options: /// There are two options:
/// - AssertMacros: AssertMacros: A comma-separated list of the names of assert /// - AssertMacros: A comma-separated list of the names of assert macros to be
/// macros to be checked. /// checked.
/// - CheckFunctionCalls: Whether to treat non-const member and non-member /// - CheckFunctionCalls: Whether to treat non-const member and non-member
/// functions as they produce side effects. Disabled by default /// functions as they produce side effects. Disabled by default because it can
/// because it can increase the number of false positive warnings. /// increase the number of false positive warnings.
class AssertSideEffectCheck : public ClangTidyCheck { class AssertSideEffectCheck : public ClangTidyCheck {
public: public: