Lines Matching refs:initializer
259 // the same semantic constraints as the initializer expression in
1187 // allow at most one initializer per member.
1205 // might not have initializers in the member initializer list.
2001 /// bitfield width if there is one, 'InitExpr' specifies the initializer if
2002 /// one has been parsed, and 'InitStyle' is set if an in-class initializer is
2283 // nodes. These Decls may have been initialized in the prior initializer.
2287 // Variables to hold state when processing an initializer list. When
2400 // Special checking for initializer lists.
2484 // initializer.
2680 /// \brief Enter a new C++ default initializer scope. After calling this, the
2682 /// parsing or instantiating the initializer failed.
2685 // that notionally surrounds a use of this initializer.
2689 /// \brief This is invoked after parsing an in-class initializer for a
2690 /// non-static C++ class member, and after instantiating an in-class initializer
2787 /// \brief Handle a C++ member initializer using braced-init-list syntax.
2803 /// \brief Handle a C++ member initializer using parentheses syntax.
2846 /// \brief Handle a C++ member initializer.
2870 // The user wrote a constructor initializer on a function that is
2880 // Names in a mem-initializer-id are looked up in the scope of the
2885 // mem-initializer-id naming the member or base class and composed
2887 // mem-initializer-id for the hidden base class may be specified
3013 /// Checks a member initializer expression for cases where reference (or
3182 // initializer. However, deconstructing the ASTs is a dicey process,
3204 // [...] Unless the mem-initializer-id names a nonstatic data
3206 // of that class, the mem-initializer is ill-formed. A
3207 // mem-initializer-list can initialize a base class using any
3241 // Unless the mem-initializer-id names a nonstatic data member of the
3243 // mem-initializer is ill-formed.
3269 // If a mem-initializer-id is ambiguous because it designates both
3271 // class, the mem-initializer is ill-formed.
3311 // initializer. However, deconstructing the ASTs is a dicey process,
3337 /// ImplicitInitializerKind - How an implicit base or member initializer should
3697 // Check whether this initializer makes the field "used".
3713 // In an implicit copy or move constructor, ignore any in-class initializer.
3718 // has an in-class initializer...
3722 // initializer.
3730 /// that is inactive (because there was an initializer given for a different
3769 // Overwhelmingly common case: we have a direct initializer for this field.
3776 // brace-or-equal-initializer and either
3778 // union is designated by a mem-initializer-id or
3781 // a mem-initializer-id,
3810 // Don't try to build an implicit initializer if there were semantic
3829 CXXCtorInitializer *Initializer) {
3830 assert(Initializer->isDelegatingInitializer());
3832 CXXCtorInitializer **initializer =
3834 memcpy(initializer, &Initializer, sizeof (CXXCtorInitializer*));
3835 initializer);
3838 MarkFunctionReferenced(Initializer->getSourceLocation(), Dtor);
3839 DiagnoseUseOfDecl(Dtor, Initializer->getSourceLocation());
3872 // We need to build the initializer AST according to order of construction
3915 // A mem-initializer where the mem-initializer-id names a virtual base
3929 // If a given [...] base class is not named by a mem-initializer-id
4056 // location of at least one initializer.
4103 // Scan forward to try to find this initializer in the idealized
4109 // If we didn't find this initializer, it must be because we
4127 // Move back to the initializer's location in the ideal list.
4133 "initializer not found in initializer list");
4250 // This must be the only initializer
4255 // We will treat this as being the only initializer.
4258 // Return immediately as the initializer is set.
5723 // brace-or-equal-initializer, has class type M (or array thereof) and
5803 // brace-or-equal-initializer does not have a user-provided default
6253 // brace-or-equal-initializer
7633 // A constructor is an initializer-list constructor if its first parameter
11523 // If we already have the in-class initializer nothing needs to be done.
11527 // Maybe we haven't instantiated the in-class initializer. Go check the
11555 // If the brace-or-equal-initializer of a non-static data member
11566 // constructor before the initializer is lexically complete will ultimately
12291 // "initializer".
13277 /// \param InitRange the source range that covers the "0" initializer.
13312 /// an initializer for the out-of-line declaration 'Dcl'. The scope
13330 // If we are parsing the initializer for a static data member, push a
13338 /// initializer for the out-of-line declaration 'D'.