Home
last modified time | relevance | path

Searched refs:defaulted (Results 1 – 25 of 40) sorted by relevance

12

/llvm-project-15.0.7/flang/test/Semantics/
H A Dmodfile17.f9015 type :: defaulted(n1,n2,n4,n8) type
21 end type defaulted
22 type, extends(defaulted) :: extension(k5)
46 type(defaulted) :: x1248
51 type(defaulted(2)) :: x2484
56 type(defaulted(n8=2)) :: x1242
62 integer(kind=x11111%defaulted%cap%j1%kind) :: res29_1
68 integer(kind=x28418%defaulted%cap%j1%kind) :: res34_2
74 integer(kind=x84812%defaulted%cap%j1%kind) :: res39_8
80 integer(kind=x12482%defaulted%cap%j1%kind) :: res44_1
/llvm-project-15.0.7/flang/lib/Parser/
H A Dexecutable-parsers.cpp202 defaulted("," >> nonemptyList(Parser<CoarrayAssociation>{})),
203 defaulted("," >> nonemptyList(statOrErrmsg))) /
214 "END TEAM" >> defaulted(parenthesized(optionalList(statOrErrmsg))),
221 "CRITICAL" >> defaulted(parenthesized(optionalList(statOrErrmsg)))))
453 defaulted(parenthesized(optionalList(statOrErrmsg))))) in TYPE_PARSER()
461 defaulted("," >> nonemptyList(statOrErrmsg))))) in TYPE_PARSER()
466 defaulted(parenthesized(optionalList(statOrErrmsg))))) in TYPE_PARSER()
471 defaulted("," >> nonemptyList(statOrErrmsg)) / ")")) in TYPE_PARSER()
477 defaulted("," >> nonemptyList(statOrErrmsg)) / ")")) in TYPE_PARSER()
516 defaulted("," >> nonemptyList(Parser<LockStmt::LockStat>{})) / ")"))
[all …]
H A DFortran-parsers.cpp371 defaulted(parenthesized(nonemptyList(name)))))
564 defaulted(parenthesized(nonemptyList(
620 defaulted("," >> nonemptyList(Parser<AttrSpec>{})) / "::",
631 defaulted("," >> nonemptyList(Parser<AttrSpec>{})),
756 defaulted(maybe("::"_tok) >> in TYPE_PARSER()
916 "SAVE" >> defaulted(maybe("::"_tok) >> in TYPE_PARSER()
1093 defaulted(
1140 defaulted("," >> nonemptyList(Parser<AllocOpt>{})) / ")"))
1173 defaulted(nonemptyList(Parser<AllocateShapeSpec>{}) / ","),
1191 defaulted("," >> nonemptyList(statOrErrmsg)) / ")"))
[all …]
H A Dio-parsers.cpp161 defaulted("," >> nonemptyList(ioControlSpec)) / ")", inputItemList) ||
165 defaulted("," >> nonemptyList(ioControlSpec)) / ")",
243 defaulted("," >> nonemptyList(ioControlSpec)) / ")", outputItemList) ||
247 defaulted("," >> nonemptyList(ioControlSpec)) / ")",
256 "PRINT" >> format, defaulted("," >> nonemptyList(outputItem))))
559 defaulted(formatItems / maybe(","_tok)),
561 construct<format::FormatSpecification>(defaulted(formatItems))))
637 "D T" >> defaulted(charLiteralConstantWithoutKind),
638 defaulted(parenthesized(nonemptyList(scaleFactor)))))
H A Dmisc-parsers.h34 return defaulted(nonemptySeparated(p, ","_tok)); // [p-list] in optionalList()
H A Dprogram-parsers.cpp260 defaulted("," >>
434 defaulted(parenthesized(optionalList(actualArgSpec)))))))
H A Dexpr-parsers.cpp443 defaulted(parenthesized(nonemptyList(Parser<BoundsSpec>{}))),
/llvm-project-15.0.7/llvm/test/Bitcode/
H A DDITemplateParameter-5.0.ll47 ; upgraded to include defaulted flag.
60 ; CHECK: !DITemplateTypeParameter({{.*}} defaulted: true
61 !20 = !DITemplateTypeParameter(name: "T", type: !21, defaulted: true)
65 ; CHECK: !DITemplateValueParameter({{.*}} defaulted: true
66 !22 = !DITemplateValueParameter(name: "i", type: !10, defaulted: true, value: i32 3)
/llvm-project-15.0.7/llvm/test/Assembler/
H A DDIDefaultTemplateParam.ll58 ; CHECK: 20 = !DITemplateTypeParameter({{.*}}, defaulted: true
59 !20 = !DITemplateTypeParameter(name: "T", type: !21, defaulted: true)
62 ; CHECK: 22 = !DITemplateValueParameter({{.*}}, defaulted: true
63 !22 = !DITemplateValueParameter(name: "i", type: !10, defaulted: true, value: i32 3)
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Darc-0x.mm124 … expected-warning {{explicitly defaulted default constructor is implicitly deleted}} expected-note…
125 …t; // expected-warning {{explicitly defaulted destructor is implicitly deleted}} expected-note {{e…
126 …/ expected-warning {{explicitly defaulted copy constructor is implicitly deleted}} expected-note 2…
127 …U1(U1 &&) = default; // expected-warning {{explicitly defaulted move constructor is implicitly del…
128 …pected-warning {{explicitly defaulted copy assignment operator is implicitly deleted}} expected-no…
129 …U1 & operator=(U1 &&) = default; // expected-warning {{explicitly defaulted move assignment operat…
153 // ObjC pointer fields in anonymous union fields delete the defaulted special
248 // operators since defaulted move constructors and assignment operators that are
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/
H A Duse-equals-default.rst7 default;``. The explicitly defaulted function declarations enable more
9 defaulted functions as trivial.
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCXXRecordDeclDefinitionBits.def145 /// These flags are \c true if a defaulted corresponding special
155 /// These flags are \c true if an implicit defaulted corresponding
199 /// True if this class has a (possibly implicit) defaulted default
203 /// True if a defaulted default constructor for this class would
213 /// True if a defaulted destructor for this class would be constexpr.
224 /// explicitly deleted or defaulted).
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/
H A Dspecial-member-functions.rst13 and it is advised that all five are defaulted or explicitly defined.
29 defaulted destructor. An example for such a class is:
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/performance/
H A Dtrivially-destructible.rst7 defaulted destructor declarations.
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Ddebug-info-template-parameter.ll86 !20 = !DITemplateTypeParameter(name: "T", type: !21, defaulted: true)
88 !22 = !DITemplateValueParameter(name: "i", type: !10, defaulted: true, value: i32 3)
/llvm-project-15.0.7/clang/test/Analysis/inlining/
H A Dpath-notes.cpp59 namespace defaulted { namespace
/llvm-project-15.0.7/clang/test/SemaOpenCLCXX/
H A Daddrspace-constructors.clcpp57 …constexpr W() __constant = default; // expected-error {{defaulted definition of default constructo…
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnosticSerializationKinds.td191 "is %select{not defaulted|defaulted}6|"
248 "is %select{not defaulted|defaulted}4|"
H A DDiagnosticSemaKinds.td1923 "in defaulted %sub{select_defaulted_comparison_kind}0 for %1 "
9201 // C++11 defaulted functions
9218 "the parameter for an explicitly-defaulted move "
9221 "the parameter for this explicitly-defaulted copy "
9228 "defaulted definition of %sub{select_special_member_kind}0 "
9253 // C++20 defaulted comparisons
9264 "comparison operator template cannot be defaulted">;
9272 "invalid parameter type for non-member defaulted"
9298 "defaulted %0 is implicitly deleted because "
9301 "defaulted %0 is implicitly deleted because "
[all …]
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDebugInfoFlags.def91 // for defaulted functions
/llvm-project-15.0.7/libcxx/docs/DesignDocs/
H A DExtendedCXX03Support.rst28 * defaulted and deleted Functions.
/llvm-project-15.0.7/llvm/unittests/IR/
H A DMetadataTest.cpp2599 bool defaulted = false; in TEST_F() local
2601 auto *N = DITemplateTypeParameter::get(Context, Name, Type, defaulted); in TEST_F()
2606 EXPECT_EQ(N, DITemplateTypeParameter::get(Context, Name, Type, defaulted)); in TEST_F()
2608 EXPECT_NE(N, DITemplateTypeParameter::get(Context, "other", Type, defaulted)); in TEST_F()
2610 getBasicType("other"), defaulted)); in TEST_F()
2623 bool defaulted = false; in TEST_F() local
2633 defaulted, Value)); in TEST_F()
2637 Type, defaulted, Value)); in TEST_F()
2639 defaulted, Value)); in TEST_F()
2641 getBasicType("other"), defaulted, in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/test/TableGen/
H A DDefaultOpsGlobalISel.td161 // Immediate used for first defaulted operand
/llvm-project-15.0.7/llvm/test/DebugInfo/COFF/
H A Dfunction-options.ll21 ; C1Class() = default; // Note: Clang generates one defaulted ctor (FO = None) while MSVC doesn't.
50 ; union BUnion { BUnion() = default; }; // Note: Clang generates one defaulted ctor (FO = None) whi…
/llvm-project-15.0.7/clang/docs/
H A DHLSLSupport.rst193 parameter lists when all template parameters are defaulted. This is an ambiguous

12