Searched defs:NameLoc (Results 1 - 25 of 37) sorted by relevance

12

/external/clang/lib/Parse/
H A DParseInit.cpp162 SourceLocation NameLoc = ConsumeToken(); // Eat the identifier. local
167 Diag(NameLoc, diag::ext_gnu_old_style_field_designator)
168 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc),
172 D.AddDesignator(Designator::getField(FieldName, SourceLocation(), NameLoc));
H A DParsePragma.cpp528 SourceLocation NameLoc = Tok.getLocation(); local
564 PP.Diag(NameLoc, diag::warn_pragma_unknown_extension) << ename;
H A DParseTemplate.cpp500 SourceLocation NameLoc; local
504 NameLoc = ConsumeToken();
526 EllipsisLoc, KeyLoc, ParamName, NameLoc,
587 SourceLocation NameLoc; local
591 NameLoc = ConsumeToken();
625 ParamName, NameLoc, Depth,
H A DParseExpr.cpp1664 SourceLocation NameLoc; local
1671 NameLoc = ConsumeToken();
1675 RParenLoc = PP.getLocForEndOfToken(NameLoc);
1682 NameLoc = ConsumeToken();
1684 RParenLoc = PP.getLocForEndOfToken(NameLoc);
1698 *Name, NameLoc,
H A DParser.cpp1346 SourceLocation NameLoc = Tok.getLocation(); local
1366 = Actions.ClassifyName(getCurScope(), SS, Name, NameLoc, Next,
1390 Tok.setAnnotationEndLoc(NameLoc);
1399 Tok.setAnnotationEndLoc(NameLoc);
1417 Id.setIdentifier(Name, NameLoc);
H A DParseDeclCXX.cpp1132 SourceLocation NameLoc; local
1136 NameLoc = ConsumeToken();
1144 if (ParseTemplateIdAfterTemplateName(TemplateTy(), NameLoc, SS,
1152 Diag(NameLoc, diag::err_explicit_spec_non_template)
1185 NameLoc = ConsumeToken();
1192 SourceRange Range(NameLoc);
1384 NameLoc, attrs.getList());
1392 Name, NameLoc, attrs.getList(),
1417 SS, Name, NameLoc, attrs.getList(), AS,
1428 SS, Name, StartLoc, NameLoc);
[all...]
H A DParseExprCXX.cpp1153 SourceLocation NameLoc = ConsumeToken(); local
1154 SecondTypeName.setIdentifier(Name, NameLoc);
1160 Name, NameLoc,
1558 /// \param NameLoc the location of the class-name in a constructor or
1578 SourceLocation NameLoc,
1637 TemplateName.setIdentifier(Name, NameLoc);
1648 TemplateName.setIdentifier(Name, NameLoc);
1663 Diag(NameLoc, diag::err_destructor_template_id)
1727 Template, NameLoc,
1734 Id.setConstructorName(Type.get(), NameLoc, RAngleLo
1575 ParseUnqualifiedIdTemplateId(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, IdentifierInfo *Name, SourceLocation NameLoc, bool EnteringContext, ParsedType ObjectType, UnqualifiedId &Id, bool AssumeTemplateId) argument
[all...]
H A DParseObjc.cpp1079 ArgInfo.NameLoc = Tok.getLocation();
2318 SourceLocation NameLoc = Tok.getLocation(); local
2320 switch (Actions.getObjCMessageKind(getCurScope(), Name, NameLoc,
H A DParseDecl.cpp3142 SourceLocation NameLoc; local
3145 NameLoc = ConsumeToken();
3316 StartLoc, SS, Name, NameLoc, attrs.getList(),
3332 NameLoc);
3339 NameLoc.isValid() ? NameLoc : StartLoc,
3362 NameLoc.isValid() ? NameLoc : StartLoc,
/external/clang/include/clang/Sema/
H A DDesignator.h48 unsigned NameLoc; member in struct:clang::Designator::FieldDesignatorInfo
86 return SourceLocation::getFromRawEncoding(FieldInfo.NameLoc);
127 SourceLocation NameLoc) {
132 D.FieldInfo.NameLoc = NameLoc.getRawEncoding();
126 getField(const IdentifierInfo *II, SourceLocation DotLoc, SourceLocation NameLoc) argument
H A DLookup.h150 SourceLocation NameLoc, Sema::LookupNameKind LookupKind,
156 NameInfo(Name, NameLoc),
149 LookupResult(Sema &SemaRef, DeclarationName Name, SourceLocation NameLoc, Sema::LookupNameKind LookupKind, Sema::RedeclarationKind Redecl = Sema::NotForRedeclaration) argument
/external/llvm/lib/AsmParser/
H A DLLParser.cpp326 LocTy NameLoc = Lex.getLoc(); local
334 if (ParseStructDefinition(NameLoc, Name,
340 return Error(NameLoc, "non-struct types may not be recursive");
394 LocTy NameLoc = Lex.getLoc(); local
414 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility);
415 return ParseAlias(Name, NameLoc, Visibility);
423 LocTy NameLoc = Lex.getLoc(); local
435 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility);
436 return ParseAlias(Name, NameLoc, Visibility);
565 bool LLParser::ParseAlias(const std::string &Name, LocTy NameLoc, argument
644 ParseGlobal(const std::string &Name, LocTy NameLoc, unsigned Linkage, bool HasLinkage, unsigned Visibility) argument
[all...]
/external/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp791 /// \param NameLoc The source location of the name of the parameter pack.
796 SourceLocation NameLoc,
800 LookupResult R(*this, &Name, NameLoc, LookupOrdinaryName);
817 Diag(NameLoc, diag::err_sizeof_pack_no_pack_name_suggest)
820 NameLoc, Corrected.getAsString(getLangOpts()));
835 Diag(NameLoc, diag::err_sizeof_pack_no_pack_name)
843 ParameterPack, NameLoc, RParenLoc);
793 ActOnSizeofParameterPackExpr(Scope *S, SourceLocation OpLoc, IdentifierInfo &Name, SourceLocation NameLoc, SourceLocation RParenLoc) argument
H A DSemaLambda.cpp634 DeclarationNameLoc NameLoc; local
635 NameLoc.NamedType.TInfo = S.Context.getTrivialTypeSourceInfo(FunctionPtrTy,
639 DeclarationNameInfo(Name, Loc, NameLoc),
706 DeclarationNameLoc NameLoc; local
707 NameLoc.NamedType.TInfo = S.Context.getTrivialTypeSourceInfo(BlockPtrTy, Loc);
710 DeclarationNameInfo(Name, Loc, NameLoc),
H A DSemaTemplateInstantiate.cpp781 SourceLocation NameLoc,
798 SourceLocation NameLoc,
963 SourceLocation NameLoc,
966 StartLoc, NameLoc, Name);
1016 SourceLocation NameLoc,
1073 return inherited::TransformTemplateName(SS, Name, NameLoc, ObjectType,
960 RebuildExceptionDecl(VarDecl *ExceptionDecl, TypeSourceInfo *Declarator, SourceLocation StartLoc, SourceLocation NameLoc, IdentifierInfo *Name) argument
1014 TransformTemplateName(CXXScopeSpec &SS, TemplateName Name, SourceLocation NameLoc, QualType ObjectType, NamedDecl *FirstQualifierInScope) argument
H A DSemaExprObjC.cpp1649 SourceLocation NameLoc,
1661 LookupResult Result(*this, Name, NameLoc, LookupOrdinaryName);
1710 TypeSourceInfo *TSInfo = Context.getTrivialTypeSourceInfo(T, NameLoc);
1723 Diag(NameLoc, diag::err_unknown_receiver_suggest)
1725 << FixItHint::CreateReplacement(SourceRange(NameLoc), "super");
1731 Diag(NameLoc, diag::err_unknown_receiver_suggest)
1733 << FixItHint::CreateReplacement(SourceRange(NameLoc),
1739 TypeSourceInfo *TSInfo = Context.getTrivialTypeSourceInfo(T, NameLoc);
1647 getObjCMessageKind(Scope *S, IdentifierInfo *Name, SourceLocation NameLoc, bool IsSuper, bool HasTrailingDot, ParsedType &ReceiverType) argument
/external/clang/include/clang/AST/
H A DDeclarationName.h430 SourceLocation NameLoc; member in struct:clang::DeclarationNameInfo
438 DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc) argument
439 : Name(Name), NameLoc(NameLoc), LocInfo(Name) {}
441 DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc, argument
443 : Name(Name), NameLoc(NameLoc), LocInfo(LocInfo) {}
451 SourceLocation getLoc() const { return NameLoc; }
453 void setLoc(SourceLocation L) { NameLoc = L; }
523 SourceLocation getBeginLoc() const { return NameLoc; }
[all...]
H A DTypeLoc.h394 SourceLocation NameLoc; member in struct:clang::TypeSpecLocInfo
407 return this->getLocalData()->NameLoc;
410 this->getLocalData()->NameLoc = Loc;
833 SourceLocation NameLoc;
848 return getLocalData()->NameLoc;
852 getLocalData()->NameLoc = Loc;
1221 SourceLocation NameLoc;
1272 return getLocalData()->NameLoc;
1275 getLocalData()->NameLoc = Loc;
1559 SourceLocation NameLoc;
[all...]
/external/llvm/lib/Target/MBlaze/AsmParser/
H A DMBlazeAsmParser.cpp70 virtual bool ParseInstruction(StringRef Name, SMLoc NameLoc,
487 ParseInstruction(StringRef Name, SMLoc NameLoc, argument
491 Operands.push_back(MBlazeOperand::CreateToken(Name.substr(0,dotLoc),NameLoc));
493 Operands.push_back(MBlazeOperand::CreateToken(Name.substr(dotLoc),NameLoc));
/external/clang/lib/AST/
H A DDeclTemplate.cpp457 SourceLocation KeyLoc, SourceLocation NameLoc,
461 new (C) TemplateTypeParmDecl(DC, KeyLoc, NameLoc, Id, Typename);
456 Create(const ASTContext &C, DeclContext *DC, SourceLocation KeyLoc, SourceLocation NameLoc, unsigned D, unsigned P, IdentifierInfo *Id, bool Typename, bool ParameterPack) argument
H A DExprCXX.cpp1291 SourceLocation NameLoc,
1296 NumArguments(ArgPack.pack_size()), NameLoc(NameLoc) { }
1289 SubstNonTypeTemplateParmPackExpr(QualType T, NonTypeTemplateParmDecl *Param, SourceLocation NameLoc, const TemplateArgument &ArgPack) argument
/external/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp50 bool ParseInstruction(StringRef Name, SMLoc NameLoc,
53 bool parseMathOperation(StringRef Name, SMLoc NameLoc,
762 parseMathOperation(StringRef Name, SMLoc NameLoc, argument
768 Operands.push_back(MipsOperand::CreateToken(Format1, NameLoc));
771 Operands.push_back(MipsOperand::CreateToken(Format2, NameLoc));
815 ParseInstruction(StringRef Name, SMLoc NameLoc, argument
820 Operands.push_back(MipsOperand::CreateToken(Name, NameLoc));
828 Operands.push_back(MipsOperand::CreateToken(Mnemonic, NameLoc));
836 Operands.push_back(MipsOperand::CreateToken(Format, NameLoc));
840 Operands.push_back(MipsOperand::CreateToken(".", NameLoc));
[all...]
/external/llvm/lib/TableGen/
H A DTGParser.cpp750 const std::string &Name, SMLoc NameLoc,
796 Error(NameLoc, "Variable not defined: '" + Name + "'");
1191 SMLoc NameLoc = Lex.getLoc(); local
1194 return ParseIDValue(CurRec, Name, NameLoc, Mode); // Value ::= IDValue
1207 Error(NameLoc, "Expected a class name, got '" + Name + "'");
1223 NameLoc,
1226 SCRef.RefLoc = NameLoc;
2090 SMLoc NameLoc = Lex.getLoc(); local
2109 Result.push_back(LetRecord(Name, Bits, Val, NameLoc));
749 ParseIDValue(Record *CurRec, const std::string &Name, SMLoc NameLoc, IDParseMode Mode) argument
/external/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp117 virtual bool ParseInstruction(StringRef Name, SMLoc NameLoc,
987 ParseInstruction(StringRef Name, SMLoc NameLoc, argument
1055 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc));
1058 Operands.push_back(X86Operand::CreateImm(ExtraImmOp, NameLoc, NameLoc));
1114 Operands.push_back(X86Operand::CreateImm(ExtraImmOp, NameLoc, NameLoc));
/external/llvm/lib/MC/MCParser/
H A DAsmParser.cpp185 bool HandleMacroEntry(StringRef Name, SMLoc NameLoc, const Macro *M);
1619 bool AsmParser::HandleMacroEntry(StringRef Name, SMLoc NameLoc, argument
1654 MacroInstantiation *MI = new MacroInstantiation(M, NameLoc,

Completed in 336 milliseconds

12