Home
last modified time | relevance | path

Searched refs:fields (Results 1 – 25 of 463) sorted by relevance

12345678910>>...19

/llvm-project-15.0.7/clang/bindings/python/tests/cindex/
H A Dtest_type.py47 fields = list(teststruct.get_children())
51 self.assertEqual(fields[0].spelling, 'a')
59 self.assertEqual(fields[1].spelling, 'b')
68 self.assertEqual(fields[2].spelling, 'c')
76 self.assertEqual(fields[3].spelling, 'd')
84 self.assertEqual(fields[4].spelling, 'e')
92 self.assertEqual(fields[5].spelling, 'f')
100 self.assertEqual(fields[6].spelling, 'g')
108 self.assertEqual(fields[7].spelling, 'h')
141 fields = list(teststruct.get_children())
[all …]
/llvm-project-15.0.7/clang/test/Analysis/
H A Dpadding_message.cpp5 Optimal fields order: \
18 Optimal fields order: \
33 Optimal fields order: \
61 Optimal fields order: \
82 Optimal fields order: \
95 Optimal fields order: \
108 Optimal fields order: \
121 Optimal fields order: \
136 Optimal fields order: \
150 Optimal fields order: \ in internalStructFunc()
[all …]
/llvm-project-15.0.7/llvm/utils/unittest/googlemock/src/
H A Dgmock-internal-utils.cc51 GTEST_API_ std::string JoinAsTuple(const Strings& fields) { in JoinAsTuple() argument
52 switch (fields.size()) { in JoinAsTuple()
56 return fields[0]; in JoinAsTuple()
58 std::string result = "(" + fields[0]; in JoinAsTuple()
59 for (size_t i = 1; i < fields.size(); i++) { in JoinAsTuple()
61 result += fields[i]; in JoinAsTuple()
/llvm-project-15.0.7/clang/tools/scan-view/share/
H A DScanView.py202 def parse_query(qs, fields=None): argument
203 if fields is None:
204 fields = {}
213 item = fields.get(name)
215 fields[name] = [value]
218 return fields
292 if name in self.fields:
663 if fields is None:
664 fields = {}
665 self.fields = fields
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-reorder-fields/tool/
H A DCMakeLists.txt1 add_clang_tool(clang-reorder-fields
5 clang_target_link_libraries(clang-reorder-fields
14 target_link_libraries(clang-reorder-fields
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/boost/
H A Duse-to-string.cpp159 Fields fields; in testFields() local
160 auto s1 = boost::lexical_cast<std::string>(fields.integer); in testFields()
164 auto s2 = boost::lexical_cast<std::string>(fields.floating); in testFields()
165 auto s3 = boost::lexical_cast<std::string>(fields.wierd); in testFields()
166 auto s4 = boost::lexical_cast<std::string>(fields.getConstInteger()); in testFields()
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dcrash.mm43 // expected-error@-2 {{property requires fields to be named}}
50 // expected-error@-2 {{property requires fields to be named}}
55 @property (nonatomic) int OuterType::InnerType; // expected-error {{property requires fields to be …
57 @property (nonatomic) int OuterType::InnerType foo; // expected-error {{property requires fields to…
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/
H A Dpro-type-member-init.rst7 initialize all fields that would be left in an undefined state by
10 type. If these fields aren't initialized, the constructor will leave
18 The check takes assignment of fields in the constructor body into
19 account but generates false positives for fields initialized in
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest-death-test.cc1602 ::std::vector< ::std::string> fields; in ParseInternalRunDeathTestFlag()
1612 if (fields.size() != 6 in ParseInternalRunDeathTestFlag()
1613 || !ParseNaturalNumber(fields[1], &line) in ParseInternalRunDeathTestFlag()
1614 || !ParseNaturalNumber(fields[2], &index) in ParseInternalRunDeathTestFlag()
1627 if (fields.size() != 3 in ParseInternalRunDeathTestFlag()
1628 || !ParseNaturalNumber(fields[1], &line) in ParseInternalRunDeathTestFlag()
1629 || !ParseNaturalNumber(fields[2], &index)) { in ParseInternalRunDeathTestFlag()
1636 if (fields.size() != 4 in ParseInternalRunDeathTestFlag()
1637 || !ParseNaturalNumber(fields[1], &line) in ParseInternalRunDeathTestFlag()
1638 || !ParseNaturalNumber(fields[2], &index) in ParseInternalRunDeathTestFlag()
[all …]
/llvm-project-15.0.7/llvm/utils/gn/secondary/clang-tools-extra/clang-reorder-fields/tool/
H A DBUILD.gn1 executable("clang-reorder-fields") {
4 "//clang-tools-extra/clang-reorder-fields",
/llvm-project-15.0.7/lldb/bindings/interface/
H A DSBType.i935 fields = []
937 fields.append(self.GetFieldAtIndex(idx))
938 return fields
944 fields = self.get_fields_array()
966 for field in fields:
988fields = property(get_fields_array, None, doc='''A read only property that returns a list() of lld…
/llvm-project-15.0.7/clang/utils/ABITest/
H A DTypeGen.py86 def __init__(self, index, isUnion, fields): argument
89 self.fields = fields
100 ' '.join(map(getField, self.fields)))
113 fields = [getField(f) for f in enumerate(self.fields)]
116 name, ' '.join(fields), name)
375 fields = [self.typeGen.get(f) for f in getNthTuple(I,self.maxSize,self.typeGen.cardinality)]
376 return RecordType(N, isUnion, fields)
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dbitfield.ll199 %fields = load i32, i32* %addr
200 %shifted = lshr i32 %fields, 23
208 %fields = load i64, i64* %addr
209 %shifted = lshr i64 %fields, 25
218 %fields = load i32, i32* %addr
219 %shifted = shl i32 %fields, 23
228 %fields = load i64, i64* %addr
229 %shifted = shl i64 %fields, 1
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVAvailability.td20 // The following are fields for controlling the generated C++ OpInterface.
29 // The following are fields for controlling the query function signature.
36 // The following are fields for controlling the query function implementation.
50 // The following are fields for a concrete availability instance.
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/COFF/
H A Dcall-graph-profile-err.s6 ## should have two 4-byte fields representing the indexes of two symbols and
7 ## one 8-byte fields representing the weight from first symbol to second
/llvm-project-15.0.7/llvm/test/Assembler/
H A Ddicompositetype-members.ll15 ; Define an identified type with fields and functions.
27 ; Define an un-identified type with fields and functions.
39 ; Add duplicate fields and members of "no-uuid" in a different file. These
46 ; Add duplicate fields and members of "has-uuid" in a different file. These
/llvm-project-15.0.7/llvm/include/llvm/TableGen/
H A DSearchableTable.td67 // List of the names of fields of collected records that contain the data for
70 // TableGen needs to know the type of the fields so that it can format
76 // type of the field. This is required for fields whose type
77 // cannot be deduced automatically, such as enum fields. For example:
103 // (Optional) List of fields that make up the primary key.
121 // List of fields that make up the key.
/llvm-project-15.0.7/llvm/utils/Misc/
H A Dzkill56 self.fields = kwargs.keys()
61 for k in self.fields])
101 fields = ln.split(None, numRows - 1)
102 if len(fields) != numRows:
108 value = fields[idx]
/llvm-project-15.0.7/flang/
H A DCODE_OWNERS.TXT7 beautification by scripts. The fields are: name (N), email (E), web-address
10 (D) fields.
/llvm-project-15.0.7/llvm/lib/TableGen/
H A DJSONBackend.cpp142 json::Array fields; in run() local
148 fields.push_back(Name); in run()
153 obj["!fields"] = std::move(fields); in run()
/llvm-project-15.0.7/llvm/test/tools/obj2yaml/ELF/
H A Dnote-section.yaml3 ## We can dump the Name, Desc and Type fields when the note section is valid.
59 ## (12 is the size of n_namesz, n_descsz and n_type 4-bytes fields that must always present).
63 ## We can't dump the Name, Desc and Type fields when the
/llvm-project-15.0.7/llvm/docs/
H A DHowToUseInstrMappings.rst26 various fields of the ``InstrMapping`` class such that they can uniquely
40 // List of fields/attributes that should be same for all the instructions in
45 // List of fields/attributes that are same for all the instructions
49 // Values for the fields/attributes listed in 'ColFields' corresponding to
54 // List of values for the fields/attributes listed in 'ColFields', one for
69 fields. For this relationship, non-predicated instructions are treated as key
80 // Instructions with same values for all the fields in RowFields form a
/llvm-project-15.0.7/clang-tools-extra/clang-reorder-fields/
H A DReorderFieldsAction.cpp62 for (const auto *Field : Definition->fields()) in getNewFieldsOrder()
131 for (const auto *Field : Definition->fields()) in reorderFieldsInDefinition()
135 for (const auto *Field : Definition->fields()) { in reorderFieldsInDefinition()
144 for (const auto *Field : Definition->fields()) { in reorderFieldsInDefinition()
/llvm-project-15.0.7/bolt/
H A DCODE_OWNERS.TXT7 beautification by scripts. The fields are: name (N), email (E), web-address
10 (D) fields.
/llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/
H A Dverdef-section.yaml73 ## Case 1: an entry that has no Version, Flags, VersionNdx or Hash fields set.
75 ## that we are able to use the "=<none>" syntax for these fields.
106 ## Check that we are able to set sh_info and sh_link fields to arbitrary values.
108 # RUN: yaml2obj --docnum=1 -DINFO=123 -DLINK=234 %s -o %t1.fields
109 # RUN: llvm-readelf --sections %t1.fields | \
153 ## Check we can omit "Content" and "Entries" fields to produce an empty SHT_GNU_verdef section.

12345678910>>...19