clang-tools  5.0.0
Namespaces | Functions
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 "../utils/LexerUtils.h"
Include dependency graph for ArgumentCommentCheck.cpp:

Go to the source code of this file.

Namespaces

 clang
 
 clang::tidy
 
 clang::tidy::misc
 

Functions

static std::vector< std::pair
< SourceLocation, StringRef > > 
clang::tidy::misc::getCommentsInRange (ASTContext *Ctx, CharSourceRange Range)
 
static std::vector< std::pair
< SourceLocation, StringRef > > 
clang::tidy::misc::getCommentsBeforeLoc (ASTContext *Ctx, SourceLocation Loc)
 
static bool clang::tidy::misc::isLikelyTypo (llvm::ArrayRef< ParmVarDecl * > Params, StringRef ArgName, unsigned ArgIndex)
 
static bool clang::tidy::misc::sameName (StringRef InComment, StringRef InDecl, bool StrictMode)
 
static bool clang::tidy::misc::looksLikeExpectMethod (const CXXMethodDecl *Expect)
 
static bool clang::tidy::misc::areMockAndExpectMethods (const CXXMethodDecl *Mock, const CXXMethodDecl *Expect)
 
static const CXXMethodDecl * clang::tidy::misc::findMockedMethod (const CXXMethodDecl *Method)
 
static const FunctionDecl * clang::tidy::misc::resolveMocks (const FunctionDecl *Func)