Home
last modified time | relevance | path

Searched refs:isStruct (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/android/
H A DCloexecAccept4Check.cpp22 hasType(pointsTo(recordDecl(isStruct(), hasName("sockaddr")))); in registerMatchers()
H A DCloexecAcceptCheck.cpp21 hasType(pointsTo(recordDecl(isStruct(), hasName("sockaddr")))); in registerMatchers()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DAPValue.h401 bool isStruct() const { return Kind == Struct; }
531 assert(isStruct() && "Invalid accessor");
535 assert(isStruct() && "Invalid accessor");
539 assert(isStruct() && "Invalid accessor");
544 assert(isStruct() && "Invalid accessor");
H A DDecl.h3569 bool isStruct() const { return getTagKind() == TTK_Struct; } in isStruct() function
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DNonPrivateMemberVariablesInClassesCheck.cpp78 Finder->addMatcher(cxxRecordDecl(anyOf(isStruct(), isClass()), hasMethods(), in registerMatchers()
/llvm-project-15.0.7/mlir/include/mlir/TableGen/
H A DClass.h578 Class(NameT &&name, bool isStruct = false)
579 : className(stringify(std::forward<NameT>(name))), isStruct(isStruct) {} in className()
750 bool isStruct; variable
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DClass.cpp279 os << (isStruct ? "struct" : "class") << ' ' << className << ' '; in writeDeclTo()
343 ? (isStruct ? Visibility::Public : Visibility::Private) in getLastVisibilityDecl()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DGetElementPtrTypeIterator.h111 bool isStruct() const { return CurTy.is<StructType *>(); } in isStruct() function
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/
H A DStructPackAlignCheck.cpp22 Finder->addMatcher(recordDecl(isStruct(), isDefinition(), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DIdentifierNamingCheck.cpp643 if (CRD->isStruct() && in getClassPrefix()
1124 if (Decl->isStruct() && NamingStyles[SK_Struct]) in findStyleKind()
1127 if (Decl->isStruct() && NamingStyles[SK_Class]) in findStyleKind()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp109 if (RD->isStruct() || RD->isClass()) in isValidBaseType()
H A DCGExprCXX.cpp1207 if (RType->getDecl()->isStruct()) { in EmitNewArrayInitializer()
H A DCGDebugInfo.cpp1076 if (RD->isStruct() || RD->isInterface()) in getTagForRecord()
1408 else if (RD && (RD->isStruct() || RD->isUnion())) in getAccessFlag()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DStraightLineStrengthReduce.cpp540 if (GTI.isStruct()) in allocateCandidatesAndFindBasisForGEP()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp461 REGISTER_MATCHER(isStruct); in RegistryMaps()
/llvm-project-15.0.7/clang/lib/AST/
H A DType.cpp565 return RT->getDecl()->isStruct(); in isStructureType()
584 return RD->isStruct() || RD->isClass() || RD->isInterface(); in isStructureOrClassType()
644 if (RT->getDecl()->isStruct()) in getAsStructureType()
650 if (!RT->getDecl()->isStruct()) in getAsStructureType()
H A DDeclCXX.cpp1955 if (Uuid && isStruct() && !getDeclContext()->isExternCContext() && in isInterfaceLike()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5843 AST_MATCHER(TagDecl, isStruct) { in AST_MATCHER() argument
5844 return Node.isStruct(); in AST_MATCHER()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DHover.cpp428 Constant.Val.isStruct() || Constant.Val.isUnion()) in printExprValue()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp1273 if (I.isStruct()) in SimplifyDemandedVectorElts()
H A DInstructionCombining.cpp2306 if (GTI.isStruct()) in visitGetElementPtrInst()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLocal.cpp3335 if (It.isStruct()) in canReplaceOperandWithVariable()
/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp1353 if (!cxx_record_decl->isClass() && !cxx_record_decl->isStruct()) in AddAccessSpecifierDecl()
1358 if ((cxx_record_decl->isStruct() && in AddAccessSpecifierDecl()
4164 else if (record_decl->isStruct()) in GetTypeClass()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNarrowingTest.cpp3897 EXPECT_TRUE(matches("struct S {};", tagDecl(isStruct()))); in TEST_P()
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstants.cpp2505 if (GTI.isStruct() && Idx->getType()->isVectorTy()) { in getGetElementPtr()

12