Home
last modified time | relevance | path

Searched refs:enumerator (Results 1 – 25 of 59) sorted by relevance

123

/llvm-project/flang/test/Semantics/
H A Dresolve60.f906 enumerator :: red, green
7 enumerator blue, pink
8 enumerator yellow
9 enumerator :: purple = 2
15 enumerator :: square, cicrle
17 enumerator square
25 enumerator :: apple
26 enumerator :: pear
28 enumerator :: peach
30 enumerator :: red
[all …]
H A Dmodfile31.f907 enumerator :: red, green
8 enumerator blue
9 enumerator yellow
10 enumerator :: purple = 2
11 enumerator :: brown
15 enumerator :: oak, beech = -rank(x)*x(1), pine, poplar = brown
H A Dbind-c02.f9033 enumerator :: SUNDAY, MONDAY
/llvm-project/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
H A Dp4.cpp22 enum tagname { enumerator }; enumerator
29 using NonClass::enumerator; // expected-error {{not a class}}
41 enum tagname { enumerator }; enumerator
48 using A::enumerator;
69 enum tagname _ = enumerator; in test4()
84 enum tagname { enumerator }; enumerator
91 using A::enumerator;
112 enum tagname _ = enumerator; in test4()
129 enum tagname { enumerator }; // expected-note 2 {{target of using declaration}} enumerator
136 using A<T>::enumerator;
[all …]
/llvm-project/clang/test/CXX/class.access/class.access.dcl/
H A Dp1.cpp25 enum tagname { enumerator }; enumerator
50 NonClass::enumerator; // expected-error {{not a class}}
67 enum tagname { enumerator }; enumerator
91 A::enumerator;
123 enum tagname _ = enumerator; in test4()
138 enum tagname { enumerator }; enumerator
163 A::enumerator;
195 enum tagname _ = enumerator; in test4()
212 enum tagname { enumerator }; // expected-note {{target of using declaration}} enumerator
237 A<T>::enumerator;
[all …]
/llvm-project/flang/module/
H A D__fortran_type_info.f9067 enumerator :: Deferred = 1, Explicit = 2, LenParameter = 3
77 enumerator :: Data = 1, Pointer = 2, Allocatable = 3, Automatic = 4
81 enumerator :: CategoryInteger = 0, CategoryReal = 1, &
109 enumerator :: ScalarAssignment = 1, ElementalAssignment = 2
110 enumerator :: ReadFormatted = 3, ReadUnformatted = 4
111 enumerator :: WriteFormatted = 5, WriteUnformatted = 6
112 enumerator :: ElementalFinal = 7, AssumedRankFinal = 8
113 enumerator :: ScalarFinal = 9 ! higher-rank final procedures follow
/llvm-project/clang/test/SemaCXX/
H A Dmember-name-lookup.cpp7 enum E { enumerator }; enumerator
45 D::E e = D::enumerator; // okay in test_lookup()
61 E e = enumerator; // okay in test_lookup()
101 D2::E e = D2::enumerator; // okay in test_virtual_lookup()
120 E e = enumerator; // okay in test_virtual_lookup()
/llvm-project/lldb/source/Target/
H A DRegisterFlags.cpp42 for (const auto &enumerator : m_enum_type->GetEnumerators()) { in Field() local
43 UNUSED_IF_ASSERT_DISABLED(enumerator); in Field()
44 assert(enumerator.m_value <= max_value && in Field()
352 for (const auto &enumerator : enumerators) { in ToXML() local
354 enumerator.ToXML(strm); in ToXML()
375 for (const auto &enumerator : GetEnumerators()) in DumpToLog() local
376 enumerator.DumpToLog(log); in DumpToLog()
425 for (const auto &enumerator : m_enumerators) { in FieldEnum() local
426 UNUSED_IF_ASSERT_DISABLED(enumerator); in FieldEnum()
427 assert(enumerator.m_name.size() && "Enumerator name cannot be empty"); in FieldEnum()
/llvm-project/lldb/source/Interpreter/
H A DOptionValueEnumeration.cpp89 for (const auto &enumerator : enumerators) { in SetEnumerations() local
90 ConstString const_enumerator_name(enumerator.string_value); in SetEnumerations()
91 EnumeratorInfo enumerator_info = {enumerator.value, enumerator.usage}; in SetEnumerations()
/llvm-project/clang/test/Modules/
H A Dredefinition-c-tagtypes.m28 SND = 44, // expected-note {{enumerator 'SND' with value 44 here}}
30 // expected-note@Inputs/F.framework/PrivateHeaders/NS.h:8 {{enumerator 'SND' with value 43 here}}
44 MinXOther = TRD, // expected-note {{enumerator 'MinXOther' with value 55 here}}
46 …// expected-note@Inputs/F.framework/PrivateHeaders/NS.h:18 {{enumerator 'MinXOther' with value 11 …
/llvm-project/lldb/source/Plugins/RegisterTypeBuilder/
H A DRegisterTypeBuilderClang.cpp98 for (auto enumerator : enumerators) { in GetRegisterType() local
100 field_type, decl, enumerator.m_name.c_str(), in GetRegisterType()
101 enumerator.m_value, byte_size * 8); in GetRegisterType()
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Denum-initial-value.rst16 #. Exactly **the first** enumerator is explicit initialized.
27 enum B { // (2) Valid, the first enumerator is initialized.
64 If set to `false`, the first enumerator must not be explicitly initialized to
/llvm-project/lldb/tools/debugserver/source/MacOSX/
H A Dstack_logging.h
/llvm-project/clang/test/CodeGenCXX/
H A Dmangle-ms-cxx11.cpp350 enum { enumerator }; enumerator
351 void f(decltype(enumerator)) {} in f() argument
353 void use_f() { f(enumerator); } in use_f()
/llvm-project/mlir/lib/Dialect/Vector/Transforms/
H A DVectorEmulateNarrowType.cpp1234 /// Underlying enumerator that encodes the provenance of the bits in the each
1236 BitCastBitsEnumerator enumerator;
1292 : enumerator(BitCastBitsEnumerator(sourceVectorType, targetVectorType)) {
1293 LDBG("\n" << enumerator.sourceElementRanges);
1316 if (!enumerator.sourceVectorType || !enumerator.targetVectorType)
1367 for (int64_t shuffleIdx = 0, e = enumerator.getMaxNumberOfEntries();
1373 for (auto &srcEltRangeList : enumerator.sourceElementRanges) {
662 BitCastBitsEnumerator enumerator; global() member
/llvm-project/offload/include/Shared/
H A DTargets.def.in1 //===-- Shared/Targets.def - Target plugin enumerator -----------*- C++ -*-===//
/llvm-project/clang-tools-extra/pseudo/lib/cxx/
H A Dcxx.bnf
/llvm-project/flang/include/flang/Common/
H A Denum-set.h191 auto enumerator{static_cast<enumerationType>(j)}; in LeastElement()
193 return {enumerator}; in LeastElement()
/llvm-project/clang/include/clang/Basic/
H A DOperatorKinds.def23 /// corresponding enumerator in OverloadedOperatorKind in
32 /// an enumerator into the TokenKind enumeration.
H A DWebAssemblyReferenceTypes.def20 // - BuiltinType::Id is the enumerator defining the type.
/llvm-project/clang/test/C/drs/
H A Ddr1xx.c320 enum dr129_t { enumerator }; /* expected-note {{previous use is here}} */ in dr129() enumerator
/llvm-project/lldb/unittests/Target/
H A DRegisterFlagsTest.cpp272 // If width is smaller than the enumerator name, print it anyway. in TEST()
427 for (const auto &[enumerator, expected] : special_names) { in TEST()
429 enumerator.ToXML(strm); in TEST()
/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp299 EnumeratorRecord &enumerator) { in visitKnownMember() argument
301 llvm::StringRef name = DropNameScope(enumerator.getName()); in visitKnownMember()
304 m_derived_ct, decl, name.str().c_str(), enumerator.Value); in visitKnownMember()
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dnon-zero-enum-to-bool-conversion.rst7 type doesn't have a zero-value enumerator. If the ``enum`` is used only to hold
/llvm-project/llvm/test/Demangle/
H A Dms-cxx11.test149 ?f@@YAXW4<unnamed-enum-enumerator>@@@Z
150 ; CHECK: void __cdecl f(enum <unnamed-enum-enumerator>)

123