Home
last modified time | relevance | path

Searched refs:structDecl (Results 1 – 4 of 4) sorted by relevance

/external/angle/src/compiler/translator/tree_ops/
DRewriteStructSamplersOld.cpp321 TIntermDeclaration *structDecl = new TIntermDeclaration; in stripStructSpecifierSamplers() local
322 structDecl->appendDeclarator(newStructRef); in stripStructSpecifierSamplers()
324 newSequence->push_back(structDecl); in stripStructSpecifierSamplers()
DRewriteStructSamplers.cpp584 TIntermDeclaration *structDecl = new TIntermDeclaration; in stripStructSpecifierSamplers() local
585 structDecl->appendDeclarator(newStructRef); in stripStructSpecifierSamplers()
587 newSequence->push_back(structDecl); in stripStructSpecifierSamplers()
DRewriteRowMajorMatrices.cpp726 TIntermDeclaration *structDecl = new TIntermDeclaration; in convertStruct() local
727 structDecl->appendDeclarator(new TIntermSymbol(newStructVar)); in convertStruct()
729 newDeclarations->push_back(structDecl); in convertStruct()
/external/clang/lib/Sema/
DSemaInit.cpp803 RecordDecl *structDecl = DeclType->getAs<RecordType>()->getDecl(); in numStructUnionElements() local
805 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(structDecl)) in numStructUnionElements()
807 for (const auto *Field : structDecl->fields()) in numStructUnionElements()
811 if (structDecl->isUnion()) in numStructUnionElements()
813 return InitializableMembers - structDecl->hasFlexibleArrayMember(); in numStructUnionElements()
1743 RecordDecl *structDecl = DeclType->getAs<RecordType>()->getDecl(); in CheckStructUnionTypes() local
1747 if (structDecl->isInvalidDecl()) { in CheckStructUnionTypes()