Searched refs:fieldDecl (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenRecordLayoutBuilder.cpp | 47 const FieldDecl *fieldDecl; member 51 const FieldDecl *fieldDecl = nullptr) in MemberInfo() 52 : offset{offset}, kind{kind}, data{data}, fieldDecl{fieldDecl} {} in MemberInfo() 155 mlir::Type getStorageType(const FieldDecl *fieldDecl) { in getStorageType() 156 mlir::Type type = cirGenTypes.convertTypeForMem(fieldDecl->getType()); in getStorageType() 157 if (fieldDecl->isBitField()) { in getStorageType() 164 uint64_t getFieldBitOffset(const FieldDecl *fieldDecl) { in getFieldBitOffset() 165 return astRecordLayout.getFieldOffset(fieldDecl->getFieldIndex()); in getFieldBitOffset() 287 if (member.fieldDecl) in fillOutputFields() 288 fieldIdxMap[member.fieldDecl->getCanonicalDecl()] = in fillOutputFields() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | PropertiesBase.td | 411 def : Property<"fieldDecl", DeclRef> { 418 // node.getUnionField() / fieldDecl can be null, thus, using `cast_if_present` 419 return APValue(cast_if_present<clang::FieldDecl>(fieldDecl), std::move(value));
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 396 void RewriteObjCFieldDecl(FieldDecl *fieldDecl, std::string &Result); 399 void RewriteLocallyDefinedNamedAggregates(FieldDecl *fieldDecl, 3692 void RewriteModernObjC::RewriteObjCFieldDecl(FieldDecl *fieldDecl, in RewriteObjCFieldDecl() argument 3694 QualType Type = fieldDecl->getType(); in RewriteObjCFieldDecl() 3695 std::string Name = fieldDecl->getNameAsString(); in RewriteObjCFieldDecl() 3701 if (fieldDecl->isBitField()) { in RewriteObjCFieldDecl() 3703 Result += utostr(fieldDecl->getBitWidthValue()); in RewriteObjCFieldDecl() 3723 void RewriteModernObjC::RewriteLocallyDefinedNamedAggregates(FieldDecl *fieldDecl, in RewriteLocallyDefinedNamedAggregates() argument 3725 QualType Type = fieldDecl->getType(); in RewriteLocallyDefinedNamedAggregates() 3731 auto *IDecl = dyn_cast<ObjCContainerDecl>(fieldDecl->getDeclContext()); in RewriteLocallyDefinedNamedAggregates()
|
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 250 REGISTER_MATCHER(fieldDecl); in RegistryMaps()
|
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 834 const internal::VariadicDynCastAllOfMatcher<Decl, FieldDecl> fieldDecl; variable
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 1406 extern const internal::VariadicDynCastAllOfMatcher<Decl, FieldDecl> fieldDecl;
|