Searched defs:Field2 (Results 1 - 2 of 2) sorted by relevance
/external/clang/lib/AST/ |
H A D | ASTImporter.cpp | 843 FieldDecl *Field1, FieldDecl *Field2) { 844 RecordDecl *Owner2 = cast<RecordDecl>(Field2->getDeclContext()); 850 Field2->isAnonymousStructOrUnion()) { 852 RecordDecl *D2 = Field2->getType()->castAs<RecordType>()->getDecl(); 858 IdentifierInfo *Name2 = Field2->getIdentifier(); 863 Field1->getType(), Field2->getType())) { 867 Context.Diag2(Field2->getLocation(), diag::note_odr_field) 868 << Field2->getDeclName() << Field2->getType(); 875 if (Field1->isBitField() != Field2 842 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, FieldDecl *Field1, FieldDecl *Field2) argument 1070 RecordDecl::field_iterator Field2 = D2->field_begin(), local [all...] |
/external/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 7785 bool isLayoutCompatible(ASTContext &C, FieldDecl *Field1, FieldDecl *Field2) { argument 7786 if (!isLayoutCompatible(C, Field1->getType(), Field2->getType())) 7789 if (Field1->isBitField() != Field2->isBitField()) 7795 unsigned Bits2 = Field2->getBitWidthValue(C); 7835 RecordDecl::field_iterator Field2 = RD2->field_begin(), local 7839 for ( ; Field1 != Field1End && Field2 != Field2End; ++Field1, ++Field2) { 7840 if (!isLayoutCompatible(C, *Field1, *Field2)) 7843 if (Field1 != Field1End || Field2 != Field2End) 7855 for (auto *Field2 [all...] |
Completed in 276 milliseconds