Home
last modified time | relevance | path

Searched refs:recordType (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DMemoryUnsafeCastChecker.cpp118 allOf(hasSourceExpression(hasType(hasUnqualifiedDesugaredType(recordType( in checkASTCodeBody()
120 hasType(hasUnqualifiedDesugaredType(recordType(hasDeclaration( in checkASTCodeBody()
158 hasSourceExpression(hasType(hasUnqualifiedDesugaredType(recordType( in checkASTCodeBody()
161 recordType(hasDeclaration(decl(cxxRecordDecl().bind(ToCastNode)))))), in checkASTCodeBody()
164 recordType(hasDeclaration(decl(cxxRecordDecl( in checkASTCodeBody()
167 recordType(hasDeclaration(decl(cxxRecordDecl( in checkASTCodeBody()
/freebsd/contrib/llvm-project/llvm/lib/XRay/
H A DRecordPrinter.cpp81 switch (R.recordType()) { in visit()
H A DFDRTraceExpander.cpp114 CurrentRecord.Type = R.recordType(); in visit()
H A DFDRTraceWriter.cpp142 TypeRecordFuncId |= static_cast<uint32_t>(R.recordType()); in visit()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp816 if (auto recordType = dyn_cast<RecordType>(type)) { in classifyType() local
817 auto record = recordType->getDecl(); in classifyType()
825 lowering.addTypedData(recordType->getDecl(), CharUnits::Zero(), layout); in classifyType()
H A DCGBlocks.cpp423 const RecordType *recordType = in isSafeForCXXConstantCapture() local
427 if (!recordType) return true; in isSafeForCXXConstantCapture()
429 const auto *record = cast<CXXRecordDecl>(recordType->getDecl()); in isSafeForCXXConstantCapture()
H A DCGObjC.cpp1002 if (const RecordType *recordType = ivarType->getAs<RecordType>()) in PropertyImplStrategy() local
1003 HasStrong = recordType->getDecl()->hasObjectMember(); in PropertyImplStrategy()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenTypes.cpp277 if (const auto *recordType = dyn_cast<RecordType>(type)) in convertType() local
278 return convertRecordDeclType(recordType->getDecl()); in convertType()
H A DCIRGenFunction.cpp299 if (const RecordType *recordType = in mayDropFunctionReturn() local
301 if (const auto *classDecl = dyn_cast<CXXRecordDecl>(recordType->getDecl())) in mayDropFunctionReturn()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCodeBuilders.cpp68 recordType(hasDeclaration(cxxRecordDecl(hasAnyName( in isKnownPointerLikeType()
/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-stacks.cpp124 Twine DecodeRecordType(uint16_t recordType) { in DecodeRecordType()
125 switch (recordType) { in DecodeRecordType()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp210 recordType(hasDeclaration( in checkASTCodeBody()
/freebsd/contrib/llvm-project/llvm/include/llvm/XRay/
H A DFDRRecords.h389 RecordTypes recordType() const { return Kind; } in recordType() function
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp127 recordType(hasDeclaration(cxxRecordDecl(optionalClass())))); in desugarsToOptionalType()
132 recordType(hasDeclaration(cxxRecordDecl(optionalOrDerivedClass())))); in desugarsToOptionalOrDerivedType()
/freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/
H A DCIRDialect.cpp39 if (auto recordType = dyn_cast<cir::RecordType>(type)) { in getAlias() local
40 StringAttr nameAttr = recordType.getName(); in getAlias()
42 os << "rec_anon_" << recordType.getKindAsStr(); in getAlias()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp553 REGISTER_MATCHER(recordType); in RegistryMaps()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1104 const AstTypeMatcher<RecordType> recordType; variable
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h7578 extern const AstTypeMatcher<RecordType> recordType;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp3969 if (auto recordType = type->getAs<RecordType>()) { in classifyPointerDeclarator() local
3970 RecordDecl *recordDecl = recordType->getDecl(); in classifyPointerDeclarator()
H A DSemaDeclCXX.cpp17307 if (const RecordType *recordType = ExDeclType->getAs<RecordType>()) { in BuildExceptionDeclaration() local
17344 FinalizeVarWithDestructor(ExDecl, recordType); in BuildExceptionDeclaration()
H A DSemaDecl.cpp14853 if (const RecordType *recordType = baseType->getAs<RecordType>()) in CheckCompleteVariableDeclaration() local
14854 FinalizeVarWithDestructor(var, recordType); in CheckCompleteVariableDeclaration()