/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | modernize-use-equals-default-copy.cpp | 61 WI(const WI &Other) : Field1(Other.Field1), Field2(Other.Field1) {} in WI() 63 int Field1, Field2; member 67 Field2 = Other.Field1; in operator =() 73 MF(const MF &Other) : Field1(Other.Field1), Field2(Other.Field2) {} in MF() 75 int Field1, Field2, Field3; member 79 Field2 = Other.Field2; in operator =() 121 BF(const BF &Other) : Field1(Other.Field1), Field2(Other.Field2), Field3(Other.Field3), in BF() 130 char Field2 : 6; member 137 Field2 = Other.Field2; in operator =() 285 DA(const DA &Other = DA(0)) : Field1(Other.Field1), Field2(Other.Field2) {} in DA() [all …]
|
D | objc-nsinvocation-argument-lifetime.m | 18 id Field2; field 61 [Invocation getArgument:&Bar.Field2 atIndex:2]; 92 [Invocation getReturnValue:&(self->Bar.Field2)];
|
/external/protobuf/csharp/src/Google.Protobuf.Benchmarks/ |
D | BenchmarkMessage1Proto3.cs | 200 public int Field2 { property in Benchmarks.Proto3.GoogleMessage1 609 if (Field2 != other.Field2) return false; in Equals() 656 if (Field2 != 0) hash ^= Field2.GetHashCode(); in GetHashCode() 709 if (Field2 != 0) { in WriteTo() 711 output.WriteInt32(Field2); in WriteTo() 889 if (Field2 != 0) { in CalculateSize() 890 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field2); in CalculateSize() 1021 if (other.Field2 != 0) { in MergeFrom() 1022 Field2 = other.Field2; in MergeFrom() 1146 Field2 = input.ReadInt32(); in MergeFrom() [all …]
|
/external/llvm-project/clang/lib/AST/ |
D | ASTStructuralEquivalence.cpp | 1214 FieldDecl *Field1, FieldDecl *Field2) { in IsStructurallyEquivalent() argument 1215 const auto *Owner2 = cast<RecordDecl>(Field2->getDeclContext()); in IsStructurallyEquivalent() 1221 Field2->isAnonymousStructOrUnion()) { in IsStructurallyEquivalent() 1223 RecordDecl *D2 = Field2->getType()->castAs<RecordType>()->getDecl(); in IsStructurallyEquivalent() 1229 IdentifierInfo *Name2 = Field2->getIdentifier(); in IsStructurallyEquivalent() 1236 Context.Diag2(Field2->getLocation(), diag::note_odr_field_name) in IsStructurallyEquivalent() 1237 << Field2->getDeclName(); in IsStructurallyEquivalent() 1245 Field2->getType())) { in IsStructurallyEquivalent() 1251 Context.Diag2(Field2->getLocation(), diag::note_odr_field) in IsStructurallyEquivalent() 1252 << Field2->getDeclName() << Field2->getType(); in IsStructurallyEquivalent() [all …]
|
/external/clang/lib/AST/ |
D | ASTImporter.cpp | 951 FieldDecl *Field1, FieldDecl *Field2) { in IsStructurallyEquivalent() argument 952 RecordDecl *Owner2 = cast<RecordDecl>(Field2->getDeclContext()); in IsStructurallyEquivalent() 958 Field2->isAnonymousStructOrUnion()) { in IsStructurallyEquivalent() 960 RecordDecl *D2 = Field2->getType()->castAs<RecordType>()->getDecl(); in IsStructurallyEquivalent() 966 IdentifierInfo *Name2 = Field2->getIdentifier(); in IsStructurallyEquivalent() 971 Field1->getType(), Field2->getType())) { in IsStructurallyEquivalent() 975 Context.Diag2(Field2->getLocation(), diag::note_odr_field) in IsStructurallyEquivalent() 976 << Field2->getDeclName() << Field2->getType(); in IsStructurallyEquivalent() 983 if (Field1->isBitField() != Field2->isBitField()) { in IsStructurallyEquivalent() 991 Context.Diag2(Field2->getLocation(), diag::note_odr_not_bit_field) in IsStructurallyEquivalent() [all …]
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 10537 bool isLayoutCompatible(ASTContext &C, FieldDecl *Field1, FieldDecl *Field2) { in isLayoutCompatible() argument 10538 if (!isLayoutCompatible(C, Field1->getType(), Field2->getType())) in isLayoutCompatible() 10541 if (Field1->isBitField() != Field2->isBitField()) in isLayoutCompatible() 10547 unsigned Bits2 = Field2->getBitWidthValue(C); in isLayoutCompatible() 10587 RecordDecl::field_iterator Field2 = RD2->field_begin(), in isLayoutCompatibleStruct() local 10591 for ( ; Field1 != Field1End && Field2 != Field2End; ++Field1, ++Field2) { in isLayoutCompatibleStruct() 10592 if (!isLayoutCompatible(C, *Field1, *Field2)) in isLayoutCompatibleStruct() 10595 if (Field1 != Field1End || Field2 != Field2End) in isLayoutCompatibleStruct() 10607 for (auto *Field2 : RD2->fields()) in isLayoutCompatibleUnion() local 10608 UnmatchedFields.insert(Field2); in isLayoutCompatibleUnion()
|
/external/llvm-project/llvm/docs/CommandGuide/ |
D | FileCheck.rst | 406 Field2: ... 412 Field2: ... 418 Field2: ...
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaChecking.cpp | 15244 FieldDecl *Field2) { in isLayoutCompatible() argument 15245 if (!isLayoutCompatible(C, Field1->getType(), Field2->getType())) in isLayoutCompatible() 15248 if (Field1->isBitField() != Field2->isBitField()) in isLayoutCompatible() 15254 unsigned Bits2 = Field2->getBitWidthValue(C); in isLayoutCompatible() 15293 RecordDecl::field_iterator Field2 = RD2->field_begin(), in isLayoutCompatibleStruct() local 15297 for ( ; Field1 != Field1End && Field2 != Field2End; ++Field1, ++Field2) { in isLayoutCompatibleStruct() 15298 if (!isLayoutCompatible(C, *Field1, *Field2)) in isLayoutCompatibleStruct() 15301 if (Field1 != Field1End || Field2 != Field2End) in isLayoutCompatibleStruct() 15312 for (auto *Field2 : RD2->fields()) in isLayoutCompatibleUnion() local 15313 UnmatchedFields.insert(Field2); in isLayoutCompatibleUnion()
|