clang-tools 20.0.0git
Classes | Namespaces | Functions
PreferMemberInitializerCheck.cpp File Reference
#include "PreferMemberInitializerCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Lex/Lexer.h"
#include "llvm/ADT/DenseMap.h"

Go to the source code of this file.

Classes

struct  clang::tidy::cppcoreguidelines::AssignmentPair
 

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
namespace  clang::tidy
 
namespace  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::canAdvanceAssignment (AssignedLevel Level)
 
static void clang::tidy::cppcoreguidelines::updateAssignmentLevel (const FieldDecl *Field, const Expr *Init, const CXXConstructorDecl *Ctor, llvm::DenseMap< const FieldDecl *, AssignedLevel > &AssignedFields)
 
static std::optional< AssignmentPair > clang::tidy::cppcoreguidelines::isAssignmentToMemberOf (const CXXRecordDecl *Rec, const Stmt *S, const CXXConstructorDecl *Ctor)