/external/clang/include/clang/Sema/ |
H A D | Designator.h | 48 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 D | Lookup.h | 150 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/clang/include/clang/AST/ |
H A D | DeclarationName.h | 430 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 D | TypeLoc.h | 394 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...] |
H A D | ExprCXX.h | 3522 SourceLocation NameLoc; 3539 Param(param), Replacement(replacement), NameLoc(loc) {} 3541 SourceLocation getNameLoc() const { return NameLoc; } 3542 SourceRange getSourceRange() const LLVM_READONLY { return NameLoc; } 3583 SourceLocation NameLoc; 3593 SourceLocation NameLoc, 3600 SourceLocation getParameterPackLocation() const { return NameLoc; } 3606 SourceRange getSourceRange() const LLVM_READONLY { return NameLoc; }
|
/external/llvm/include/llvm/MC/ |
H A D | MCTargetAsmParser.h | 62 /// \param NameLoc - The source location of the name. 66 virtual bool ParseInstruction(StringRef Name, SMLoc NameLoc,
|
/external/llvm/lib/Target/Mips/AsmParser/ |
H A D | MipsAsmParser.cpp | 50 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/clang/lib/Parse/ |
H A D | ParseInit.cpp | 162 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 D | ParseTemplate.cpp | 500 SourceLocation NameLoc; local 504 NameLoc = ConsumeToken(); 526 EllipsisLoc, KeyLoc, ParamName, NameLoc, 587 SourceLocation NameLoc; local 591 NameLoc = ConsumeToken(); 625 ParamName, NameLoc, Depth,
|
H A D | ParseDeclCXX.cpp | 1132 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 D | ParseExprCXX.cpp | 1153 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 D | ParseExpr.cpp | 1664 SourceLocation NameLoc; local 1671 NameLoc = ConsumeToken(); 1675 RParenLoc = PP.getLocForEndOfToken(NameLoc); 1682 NameLoc = ConsumeToken(); 1684 RParenLoc = PP.getLocForEndOfToken(NameLoc); 1698 *Name, NameLoc,
|
H A D | ParsePragma.cpp | 528 SourceLocation NameLoc = Tok.getLocation(); local 564 PP.Diag(NameLoc, diag::warn_pragma_unknown_extension) << ename;
|
H A D | Parser.cpp | 1346 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);
|
/external/llvm/lib/Target/MBlaze/AsmParser/ |
H A D | MBlazeAsmParser.cpp | 70 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/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 326 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/AST/ |
H A D | DeclarationName.cpp | 548 return NameLoc; 566 return NameLoc; 573 return NameLoc;
|
/external/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 133 ParsedType Sema::getTypeName(IdentifierInfo &II, SourceLocation NameLoc, argument 166 return ActOnTypenameType(S, SourceLocation(), *SS, II, NameLoc).get(); 171 II, NameLoc); 188 LookupResult Result(*this, &II, NameLoc, Kind); 222 TemplateName.setIdentifier(NewII, NameLoc); 226 NewSS.MakeTrivial(Context, NNS, SourceRange(NameLoc)); 236 ParsedType Ty = getTypeName(*NewII, NameLoc, S, NewSSPtr, 244 Diag(NameLoc, diag::err_unknown_type_or_class_name_suggest) 246 << FixItHint::CreateReplacement(SourceRange(NameLoc), 253 SS->MakeTrivial(Context, NNS, SourceRange(NameLoc)); 517 isTagTypeWithMissingTag(Sema &SemaRef, LookupResult &Result, Scope *S, CXXScopeSpec &SS, IdentifierInfo *&Name, SourceLocation NameLoc) argument 572 buildNestedType(Sema &S, CXXScopeSpec &SS, QualType T, SourceLocation NameLoc) argument 586 ClassifyName(Scope *S, CXXScopeSpec &SS, IdentifierInfo *&Name, SourceLocation NameLoc, const Token &NextToken, bool IsAddressOfOperand, CorrectionCandidateCallback *CCC) argument 2798 CheckAnonMemberRedeclaration(Sema &SemaRef, Scope *S, DeclContext *Owner, DeclarationName Name, SourceLocation NameLoc, unsigned diagnostic) argument 7429 CheckParameter(DeclContext *DC, SourceLocation StartLoc, SourceLocation NameLoc, IdentifierInfo *Name, QualType T, TypeSourceInfo *TSInfo, VarDecl::StorageClass StorageClass, VarDecl::StorageClass StorageClassAsWritten) argument 8339 ActOnTag(Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr, AccessSpecifier AS, SourceLocation ModulePrivateLoc, MultiTemplateParamsArg TemplateParameterLists, bool &OwnedDecl, bool &IsDependent, SourceLocation ScopedEnumKWLoc, bool ScopedEnumUsesClassTag, TypeResult UnderlyingType) argument 11050 ActOnPragmaRedefineExtname(IdentifierInfo* Name, IdentifierInfo* AliasName, SourceLocation PragmaLoc, SourceLocation NameLoc, SourceLocation AliasNameLoc) argument 11067 ActOnPragmaWeakID(IdentifierInfo* Name, SourceLocation PragmaLoc, SourceLocation NameLoc) argument 11081 ActOnPragmaWeakAlias(IdentifierInfo* Name, IdentifierInfo* AliasName, SourceLocation PragmaLoc, SourceLocation NameLoc, SourceLocation AliasNameLoc) argument [all...] |
H A D | SemaLambda.cpp | 634 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 D | SemaTemplateVariadic.cpp | 791 /// \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 D | SemaTemplate.cpp | 755 SourceLocation NameLoc, 767 NameLoc.isInvalid()? TmpLoc : NameLoc, 846 IdentifierInfo *Name, SourceLocation NameLoc, 874 LookupResult Previous(*this, Name, NameLoc, 885 Diag(NameLoc, diag::err_template_qualified_declarator_no_match) 901 diagnoseQualifiedDeclaration(SS, SemanticContext, Name, NameLoc); 960 LookupResult Previous(*this, Name, NameLoc, LookupOrdinaryName, 1006 Diag(NameLoc, diag::err_redefinition) << Name; 1015 DiagnoseTemplateParameterShadow(NameLoc, PrevDec 750 ActOnTemplateTemplateParameter(Scope* S, SourceLocation TmpLoc, TemplateParameterList *Params, SourceLocation EllipsisLoc, IdentifierInfo *Name, SourceLocation NameLoc, unsigned Depth, unsigned Position, SourceLocation EqualLoc, ParsedTemplateArgument Default) argument 844 CheckClassTemplate(Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr, TemplateParameterList *TemplateParams, AccessSpecifier AS, SourceLocation ModulePrivateLoc, unsigned NumOuterTemplateParamLists, TemplateParameterList** OuterTemplateParamLists) argument 6495 ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, unsigned TagSpec, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr) argument 6885 ActOnDependentTag(Scope *S, unsigned TagSpec, TagUseKind TUK, const CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation TagLoc, SourceLocation NameLoc) argument [all...] |
H A D | SemaTemplateInstantiate.cpp | 781 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
|
/external/llvm/lib/TableGen/ |
H A D | TGParser.h | 167 Init *ParseIDValue(Record *CurRec, const std::string &Name, SMLoc NameLoc,
|
H A D | TGParser.cpp | 750 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 D | X86AsmParser.cpp | 117 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));
|