clang-tools 24.0.0git
ArgumentCommentCheck.cpp File Reference
#include "ArgumentCommentCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Lex/Lexer.h"
#include "clang/Lex/Token.h"
#include "llvm/Support/YAMLParser.h"
#include "../utils/LexerUtils.h"
#include "../utils/OptionsUtils.h"

Go to the source code of this file.

Classes

struct  clang::tidy::bugprone::CommentToken

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::tidy
namespace  clang::tidy::bugprone

Typedefs

using clang::tidy::IntegerLiteralKind = bugprone::ArgumentCommentCheck::IntegerLiteralKind

Functions

static IntegerLiteralKind clang::tidy::bugprone::getCommentIntegerLiterals (const ClangTidyCheck::OptionsView &Options)
static std::vector< CommentToken > clang::tidy::bugprone::getCommentsBeforeLoc (ASTContext *Ctx, SourceLocation Loc)
template<typename NamedDeclRange>
static bool clang::tidy::bugprone::isLikelyTypo (const NamedDeclRange &Candidates, StringRef ArgName, StringRef TargetName)
static bool clang::tidy::bugprone::sameName (StringRef InComment, StringRef InDecl, bool StrictMode)
static bool clang::tidy::bugprone::looksLikeExpectMethod (const CXXMethodDecl *Expect)
static bool clang::tidy::bugprone::areMockAndExpectMethods (const CXXMethodDecl *Mock, const CXXMethodDecl *Expect)
static const CXXMethodDecl * clang::tidy::bugprone::findMockedMethod (const CXXMethodDecl *Method)
static const FunctionDecl * clang::tidy::bugprone::resolveMocks (const FunctionDecl *Func)
static InitListKind clang::tidy::bugprone::getInitListKind (const Expr *Arg)
static bool clang::tidy::bugprone::isParenthesizedTemporary (const Expr *Arg)