clang-tools  16.0.0git
Namespaces | Functions
PreferMemberInitializerCheck.cpp File Reference
#include "PreferMemberInitializerCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Lex/Lexer.h"
Include dependency graph for PreferMemberInitializerCheck.cpp:

Go to the source code of this file.

Namespaces

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

Functions

static bool clang::tidy::cppcoreguidelines::isControlStatement (const Stmt *S)
 
static bool clang::tidy::cppcoreguidelines::isNoReturnCallStatement (const Stmt *S)
 
static bool clang::tidy::cppcoreguidelines::isLiteral (const Expr *E)
 
static bool clang::tidy::cppcoreguidelines::isUnaryExprOfLiteral (const Expr *E)
 
static bool clang::tidy::cppcoreguidelines::shouldBeDefaultMemberInitializer (const Expr *Value)
 
static bool clang::tidy::cppcoreguidelines::isSafeAssignment (const FieldDecl *Field, const Expr *Init, const CXXConstructorDecl *Context)
 
static std::pair< const FieldDecl *, const Expr * > clang::tidy::cppcoreguidelines::isAssignmentToMemberOf (const CXXRecordDecl *Rec, const Stmt *S, const CXXConstructorDecl *Ctor)