Home
last modified time | relevance | path

Searched refs:isTriviallyCopyable (Results 1 – 17 of 17) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/cert/
DNonTrivialTypesLibcMemoryCallsCheck.cpp30 AST_MATCHER(CXXRecordDecl, isTriviallyCopyable) { in AST_MATCHER() argument
116 ArgChecker(unless(isTriviallyCopyable()), IsStructPointer())) in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DUndefinedMemoryManipulationCheck.cpp22 return Node.hasDefinition() ? !Node.isTriviallyCopyable() : false; in AST_MATCHER()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DMoveConstructorInitCheck.cpp58 if (RD && RD->isTriviallyCopyable()) in check()
/external/clang/include/clang/AST/
DDeclCXX.h1316 bool isTriviallyCopyable() const;
1324 return isTriviallyCopyable() && hasTrivialDefaultConstructor(); in isTrivial()
/external/llvm-project/clang/include/clang/AST/
DDeclCXX.h1365 bool isTriviallyCopyable() const;
1373 return isTriviallyCopyable() && hasTrivialDefaultConstructor(); in isTrivial()
/external/clang/lib/AST/
DType.cpp2088 ClassDecl->isTriviallyCopyable(); in isTrivialType()
2143 if (!ClassDecl->isTriviallyCopyable()) return false; in isTriviallyCopyableType()
DDeclCXX.cpp413 bool CXXRecordDecl::isTriviallyCopyable() const { in isTriviallyCopyable() function in CXXRecordDecl
DDecl.cpp3829 else if (CXXRD->isTriviallyCopyable()) in mayInsertExtraPadding()
/external/clang/lib/Sema/
DSemaPseudoObject.cpp240 return ClassDecl->isTriviallyCopyable(); in CanCaptureValue()
/external/llvm-project/clang/lib/AST/
DType.cpp2427 ClassDecl->isTriviallyCopyable(); in isTrivialType()
2467 if (!ClassDecl->isTriviallyCopyable()) return false; in isTriviallyCopyableType()
DJSONNodeDumper.cpp451 FIELD1(isTriviallyCopyable); in createCXXRecordDefinitionData()
DTextNodeDumper.cpp1874 FLAG(isTriviallyCopyable, trivially_copyable); in VisitCXXRecordDecl()
DDeclCXX.cpp566 bool CXXRecordDecl::isTriviallyCopyable() const { in isTriviallyCopyable() function in CXXRecordDecl
DDecl.cpp4601 else if (CXXRD->isTriviallyCopyable()) in mayInsertExtraPadding()
/external/llvm-project/clang/lib/Sema/
DSemaPseudoObject.cpp239 return ClassDecl->isTriviallyCopyable(); in CanCaptureValue()
DSemaDeclCXX.cpp11122 if (!Info->Record->isTriviallyCopyable()) in CheckComparisonCategoryType()
/external/llvm-project/clang/lib/CodeGen/
DCGExprAgg.cpp1007 assert(CmpInfo.Record->isTriviallyCopyable() && in VisitBinCmp()