37 void check(
const ast_matchers::MatchFinder::MatchResult &Result)
override;
41 const unsigned StrictMode : 1;
42 const unsigned IgnoreSingleArgument : 1;
43 const unsigned CommentBoolLiterals : 1;
44 const unsigned CommentIntegerLiterals : 1;
45 const unsigned CommentFloatLiterals : 1;
46 const unsigned CommentStringLiterals : 1;
47 const unsigned CommentUserDefinedLiterals : 1;
48 const unsigned CommentCharacterLiterals : 1;
49 const unsigned CommentNullPtrs : 1;
52 void checkCallArgs(ASTContext *Ctx,
const FunctionDecl *Callee,
53 SourceLocation ArgBeginLoc,
54 llvm::ArrayRef<const Expr *> Args);
56 bool shouldAddComment(
const Expr *Arg)
const;
Every ClangTidyCheck reports errors through a DiagnosticsEngine provided by this context.