clang-tools 22.0.0git
|
#include "UseScopedLockCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/Stmt.h"
#include "clang/AST/Type.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Lex/Lexer.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Twine.h"
Go to the source code of this file.
Namespaces | |
namespace | clang |
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===// | |
namespace | clang::tidy |
namespace | clang::tidy::modernize |
Functions | |
static bool | clang::tidy::modernize::isLockGuardDecl (const NamedDecl *Decl) |
static bool | clang::tidy::modernize::isLockGuard (const QualType &Type) |
static llvm::SmallVector< const VarDecl * > | clang::tidy::modernize::getLockGuardsFromDecl (const DeclStmt *DS) |
static llvm::SmallVector< llvm::SmallVector< const VarDecl * > > | clang::tidy::modernize::findLocksInCompoundStmt (const CompoundStmt *Block, const ast_matchers::MatchFinder::MatchResult &Result) |
static SourceRange | clang::tidy::modernize::getLockGuardRange (const TypeSourceInfo *SourceInfo) |
static SourceRange | clang::tidy::modernize::getLockGuardNameRange (const TypeSourceInfo *SourceInfo) |
Variables | |
static const StringRef | clang::tidy::modernize::UseScopedLockMessage |