Searched refs:Field2 (Results 1 - 2 of 2) sorted by relevance

/external/clang/lib/AST/
H A DASTImporter.cpp823 FieldDecl *Field1, FieldDecl *Field2) {
824 RecordDecl *Owner2 = cast<RecordDecl>(Field2->getDeclContext());
827 Field1->getType(), Field2->getType())) {
830 Context.Diag2(Field2->getLocation(), diag::note_odr_field)
831 << Field2->getDeclName() << Field2->getType();
837 if (Field1->isBitField() != Field2->isBitField()) {
844 Context.Diag2(Field2->getLocation(), diag::note_odr_not_bit_field)
845 << Field2->getDeclName();
847 Context.Diag2(Field2
822 IsStructurallyEquivalent(StructuralEquivalenceContext &Context, FieldDecl *Field1, FieldDecl *Field2) argument
977 RecordDecl::field_iterator Field2 = D2->field_begin(), local
[all...]
/external/clang/lib/Sema/
H A DSemaChecking.cpp5704 bool isLayoutCompatible(ASTContext &C, FieldDecl *Field1, FieldDecl *Field2) { argument
5705 if (!isLayoutCompatible(C, Field1->getType(), Field2->getType()))
5708 if (Field1->isBitField() != Field2->isBitField())
5714 unsigned Bits2 = Field2->getBitWidthValue(C);
5754 RecordDecl::field_iterator Field2 = RD2->field_begin(), local
5758 for ( ; Field1 != Field1End && Field2 != Field2End; ++Field1, ++Field2) {
5759 if (!isLayoutCompatible(C, *Field1, *Field2))
5762 if (Field1 != Field1End || Field2 != Field2End)
5774 for (RecordDecl::field_iterator Field2
[all...]

Completed in 172 milliseconds