forked from OSchip/llvm-project
[clang-tidy] Fixed typos and formatting in a comment. NFC
llvm-svn: 245310
This commit is contained in:
parent
6ac4ea4d29
commit
fc8cd685e1
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue