Lines Matching defs:Name
51 /// 'inline'[opt] 'namespace' original-namespace-name
263 // Parse (optional) nested-name-specifier.
416 /// 'using' 'namespace' ::[opt] nested-name-specifier[opt]
417 /// namespace-name ;
419 /// 'using' 'namespace' ::[opt] nested-name-specifier[opt]
420 /// namespace-name attributes[opt] ;
438 // Parse (optional) nested-name-specifier.
444 // Parse namespace-name.
447 // If there was invalid namespace name, skip to end of decl, and eat ';'.
479 /// 'using' 'typename'[opt] ::[opt] nested-name-specifier
512 // Parse nested-name-specifier.
519 // Check nested-name specifier.
526 UnqualifiedId Name;
533 // [...] in a using-declaration that is a member-declaration, if the name
534 // specified after the nested-name-specifier is the same as the identifier
535 // or the simple-template-id's template-name in the last component of the
536 // nested-name-specifier, the name is [...] considered to name the
545 Name.setConstructorName(Type, IdLoc, IdLoc);
549 TemplateKWLoc, Name)) {
583 Name.getKind() == UnqualifiedId::IK_TemplateId)
592 Range = SourceRange(Name.TemplateId->LAngleLoc,
593 Name.TemplateId->RAngleLoc);
602 // Name must be an identifier.
603 if (Name.getKind() != UnqualifiedId::IK_Identifier) {
604 Diag(Name.StartLocation, diag::err_alias_declaration_not_identifier);
649 // ignoring the parameters, just in case the nested name specifier
656 if (HasTypenameKeyword && Name.getKind() != UnqualifiedId::IK_Identifier) {
657 Diag(Name.getSourceRange().getBegin(), diag::err_typename_identifiers_only)
669 UsingLoc, Name, Attrs.getList(),
675 SS, Name, Attrs.getList(),
911 /// class name or decltype-specifier. Note that we only check that the result
914 /// name was found.
919 /// nested-name-specifier[opt] class-name
921 /// class-name: [C++ class.name]
927 /// ::[opt] nested-name-specifier[opt] class-name
937 // Parse optional nested-name-specifier
989 // template-name was wrong. Try to fix that.
1006 // Form the template name
1160 /// class-key nested-name-specifier identifier base-clause[opt]
1161 /// class-key nested-name-specifier[opt] simple-template-id
1164 /// [GNU] class-key attributes[opt] nested-name-specifier
1166 /// [GNU] class-key attributes[opt] nested-name-specifier[opt]
1174 /// class-key ::[opt] nested-name-specifier[opt] identifier
1175 /// class-key ::[opt] nested-name-specifier[opt] 'template'[opt]
1209 // Code completion for a struct, class, or union name.
1306 // name
1312 // Parse the (optional) nested-name-specifier.
1336 // Parse the (optional) class name or simple-template-id.
1337 IdentifierInfo *Name = nullptr;
1341 Name = Tok.getIdentifierInfo();
1345 // The name was supposed to refer to a template, but didn't.
1360 << TagTokKind << Name << SourceRange(LAngleLoc, RAngleLoc);
1390 // The template-name in the simple-template-id refers to
1397 // FIXME: Name may be null here.
1399 << TemplateId->Name << static_cast<int>(TemplateId->Kind) << Range;
1420 // - attributes follow class name:
1432 // If there are attributes after class name, parse them.
1508 // is between class-key and class-name. If there are
1509 // any attributes after class-name, we try a fixit to move
1533 if (!Name && !TemplateId && (DS.getTypeSpecType() == DeclSpec::TST_error ||
1658 TagType, StartLoc, SS, Name,
1667 Name, NameLoc, attrs.getList(),
1697 SS, Name, NameLoc, attrs.getList(), AS,
1710 SS, Name, StartLoc, NameLoc);
1859 // Parse the class-name.
2089 // If this has neither a name nor a bit width, something has gone seriously
2121 std::string Name(FixItName);
2122 Name += " ";
2123 Insertion = FixItHint::CreateInsertion(VS.getFirstLocation(), Name.c_str());
2146 const char *Name = (RefQualifierIsLValueRef ? "& " : "&& ");
2147 FixItHint Insertion = FixItHint::CreateInsertion(VS.getFirstLocation(), Name);
2166 /// ::[opt] nested-name-specifier template[opt] unqualified-id ';'[TODO]
2249 UnqualifiedId Name;
2251 TemplateKWLoc, Name)) {
2266 SS, Name,
2835 // to the class would be between class-key and class-name.
3157 /// '::'[opt] nested-name-specifier[opt] class-name
3160 // parse '::'[opt] nested-name-specifier[opt]
3189 // Get the identifier. This may be a member name or a class name,