Home | History | Annotate | Download | only in Sema

Lines Matching refs:Definition

652     //   A name used in a template declaration or definition and that is 
824 // A name used in the definition of a static data member of class
829 // scope of its namespace then any name used in the definition of
831 // if the definition of the variable member occurred in its
1233 // or address of a label taken, but no definition of it. Label fwd
1314 // This routine must always return a class definition, if any.
1490 // Install the built-in type for 'id', ignoring the current definition.
1497 // Install the built-in type for 'Class', ignoring the current definition.
1504 // Install the built-in type for 'SEL', ignoring the current definition.
1762 // Determine whether the previous declaration was a definition,
2016 // GNU C permits a K&R definition to follow a prototype declaration
2017 // if the declared types of the parameters in the K&R definition
2019 // promoted types of the parameters from the K&R definition differ
2023 // If a variadic prototype is followed by a non-variadic K&R definition,
2024 // the K&R definition becomes variadic. This is sort of an edge case, but
2225 /// Tentative definition rules (C99 6.9.2p2) are checked by
2336 New->isThisDeclarationADefinition() == VarDecl::Definition &&
2633 // definition, the members of the anonymous union are
2817 // Visual C++ allows type definition in anonymous struct or union.
2841 // Visual C++ allows type definition in anonymous struct or union.
3113 /// and Definition have "nearly" matching parameters. This heuristic is
3115 /// definition doesn't match any declaration within the class or namespace.
3117 /// between the declaration and the definition. If hasSimilarParameters
3121 FunctionDecl *Definition,
3124 if (Declaration->param_size() != Definition->param_size())
3128 QualType DefParamTy = Definition->getParamDecl(Idx)->getType();
3275 // A declarator-id shall not be qualified except for the definition
3277 // its class, the definition or explicit instantiation of a function
3279 // definition of an explicit specialization outside of its namespace,
3980 // This is an out-of-line definition of a static data member.
4177 // attributes declared post-definition are currently ignored
4805 // Create a FunctionDecl to satisfy the function definition parsing
5134 // constructor or conversion function within its class definition;
5207 // A member function may be defined (8.4) in its class definition, in
5216 // in a class definition, in which case it is a static member of
5220 // member function definition.
5535 // The user tried to provide an out-of-line definition for a
5573 // definition (C++ [dcl.meaning]p1).
5592 // attributes declared post-definition are currently ignored
6209 // A definition must end up with a complete type, which means it must be
6241 // enumeration type, its declaration in the class definition can
6246 // namespace scope definition shall not contain an initializer.
6361 // enumeration type, its declaration in the class definition can
6364 // data member of literal type can be declared in the class definition
6532 // the definition of a variable [...] or the declaration of a static data
6546 case VarDecl::Definition:
6550 // We have an out-of-line definition of a static data member
6580 // constitutes a tentative definition. Note: A tentative definition with
6591 // a tentative definition and has internal linkage (C99 6.2.2p3), the
6605 // Record the tentative definition; we're done.
7244 // Don't complain if we're in GNU89 mode and the previous definition
7246 const FunctionDecl *Definition;
7247 if (FD->isDefined(Definition) &&
7248 !canRedefineFunction(Definition, getLangOpts())) {
7249 if (getLangOpts().GNUMode && Definition->isInlineSpecified() &&
7250 Definition->getStorageClass() == SC_Extern)
7255 Diag(Definition->getLocation(), diag::note_previous_definition);
7287 // The return type of a function definition must be complete
7299 // definition itself provides a prototype. The aim is to detect
7365 // Checking attributes of current function definition
7369 // dllimport attribute cannot be directly applied to definition.
7452 // MSVC permits the use of pure specifier (=0) on function definition,
7624 // Set a Declarator for the implicit definition: int foo();
7870 // definition of the class. Thus, in any
7923 // Check for a previous definition. If current tag and definition
7924 // are same type, do nothing. If no definition, but disagree with
7953 /// reference/declaration/definition of a tag.
7964 // If this is not a definition, it must have a name.
7967 "Nameless record must be a definition!");
7991 // This is a declaration or definition of a class template (which may
8112 // declaration or definition.
8136 // tag declaration or definition. See the similar lookup tweak
8265 // in the same scope (so that the definition/declaration completes or
8316 // returning the previous declaration, unless this is a definition,
8337 // If we're defining a specialization and the previous definition
8362 // references get the previous definition.
8382 // Okay, this is definition of a previously declared or referenced
8387 // have a definition. Just create a new decl.
8390 // If we get here, this is a definition of a new tag type in a nested
8397 // is non-NULL, it's a definition of the tag declared by
8398 // PrevDecl. If it's NULL, we have a new definition.
8538 // If this is either a declaration or a definition, check the
8651 // tag to the list of decls to inject into the function definition scope.
8719 // Make sure we "complete" the definition even it is invalid.
8729 // Exit this scope of this tag's definition.
8737 // Exit this scope of this interface definition.
8757 // Make sure we "complete" the definition even it is invalid.
9937 // constant-expression in the enumerator-definition shall be a converted