#include "TypeTraits.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/DeclCXX.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include <optional>
namespace clang::tidy::utils::type_traits {
namespace {
bool classHasTrivialCopyAndDestroy(QualType Type) { … }
bool hasDeletedCopyConstructor(QualType Type) { … }
}
std::optional<bool> isExpensiveToCopy(QualType Type,
const ASTContext &Context) { … }
bool recordIsTriviallyDefaultConstructible(const RecordDecl &RecordDecl,
const ASTContext &Context) { … }
bool isTriviallyDefaultConstructible(QualType Type, const ASTContext &Context) { … }
bool isTriviallyDestructible(QualType Type) { … }
bool hasNonTrivialMoveConstructor(QualType Type) { … }
bool hasNonTrivialMoveAssignment(QualType Type) { … }
}