Searched refs:NameLoc (Results 1 - 25 of 47) sorted by relevance

12

/external/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp25 bool ParseInstruction(StringRef Name, SMLoc NameLoc,
51 ParseInstruction(StringRef Name, SMLoc NameLoc, argument
/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
H A DSema.h995 ParsedType getTypeName(IdentifierInfo &II, SourceLocation NameLoc,
1102 /// \param NameLoc The location of the identifier.
1109 SourceLocation NameLoc,
1163 SourceLocation NameLoc, IdentifierInfo *Name,
1273 IdentifierInfo *Name, SourceLocation NameLoc,
1284 IdentifierInfo *Name, SourceLocation NameLoc,
1294 SourceLocation NameLoc);
2697 SourceLocation NameLoc,
2995 SourceLocation NameLoc,
2999 SourceLocation NameLoc);
5865 SourceLocation NameLoc; member in struct:clang::Sema::ObjCArgInfo
[all...]
/external/clang/include/clang/AST/
H A DDeclarationName.h417 SourceLocation NameLoc; member in struct:clang::DeclarationNameInfo
425 DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc) argument
426 : Name(Name), NameLoc(NameLoc), LocInfo(Name) {}
428 DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc, argument
430 : Name(Name), NameLoc(NameLoc), LocInfo(LocInfo) {}
438 SourceLocation getLoc() const { return NameLoc; }
440 void setLoc(SourceLocation L) { NameLoc = L; }
510 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;
847 return getLocalData()->NameLoc;
851 getLocalData()->NameLoc = Loc;
1221 SourceLocation NameLoc;
1272 return getLocalData()->NameLoc;
1275 getLocalData()->NameLoc = Loc;
1559 SourceLocation NameLoc;
[all...]
H A DExprCXX.h3477 SourceLocation NameLoc;
3494 Param(param), Replacement(replacement), NameLoc(loc) {}
3496 SourceLocation getNameLoc() const { return NameLoc; }
3497 SourceRange getSourceRange() const LLVM_READONLY { return NameLoc; }
3538 SourceLocation NameLoc;
3548 SourceLocation NameLoc,
3555 SourceLocation getParameterPackLocation() const { return NameLoc; }
3561 SourceRange getSourceRange() const LLVM_READONLY { return NameLoc; }
/external/llvm/include/llvm/MC/
H A DMCTargetAsmParser.h63 /// \param NameLoc - The source location of the name.
67 virtual bool ParseInstruction(StringRef Name, SMLoc NameLoc,
/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 DParseTemplate.cpp490 SourceLocation NameLoc; local
494 NameLoc = ConsumeToken();
516 EllipsisLoc, KeyLoc, ParamName, NameLoc,
577 SourceLocation NameLoc; local
581 NameLoc = ConsumeToken();
615 ParamName, NameLoc, Depth,
H A DParseDeclCXX.cpp1034 SourceLocation NameLoc; local
1038 NameLoc = ConsumeToken();
1046 if (ParseTemplateIdAfterTemplateName(TemplateTy(), NameLoc, SS,
1054 Diag(NameLoc, diag::err_explicit_spec_non_template)
1086 NameLoc = ConsumeToken();
1093 SourceRange Range(NameLoc);
1268 NameLoc, attrs.getList());
1274 Name, NameLoc, attrs.getList(),
1296 SS, Name, NameLoc, attrs.getList(), AS,
1307 SS, Name, StartLoc, NameLoc);
[all...]
H A DParseExprCXX.cpp1146 SourceLocation NameLoc = ConsumeToken(); local
1147 SecondTypeName.setIdentifier(Name, NameLoc);
1153 Name, NameLoc,
1581 /// \param NameLoc the location of the class-name in a constructor or
1601 SourceLocation NameLoc,
1660 TemplateName.setIdentifier(Name, NameLoc);
1671 TemplateName.setIdentifier(Name, NameLoc);
1686 Diag(NameLoc, diag::err_destructor_template_id)
1751 Template, NameLoc,
1758 Id.setConstructorName(Type.get(), NameLoc, RAngleLo
1598 ParseUnqualifiedIdTemplateId(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, IdentifierInfo *Name, SourceLocation NameLoc, bool EnteringContext, ParsedType ObjectType, UnqualifiedId &Id, bool AssumeTemplateId) argument
[all...]
H A DParseExpr.cpp1594 SourceLocation NameLoc; local
1601 NameLoc = ConsumeToken();
1605 RParenLoc = PP.getLocForEndOfToken(NameLoc);
1612 NameLoc = ConsumeToken();
1614 RParenLoc = PP.getLocForEndOfToken(NameLoc);
1628 *Name, NameLoc,
H A DParsePragma.cpp528 SourceLocation NameLoc = Tok.getLocation(); local
564 PP.Diag(NameLoc, diag::warn_pragma_unknown_extension) << ename;
H A DParseStmt.cpp135 SourceLocation NameLoc = Tok.getLocation(); local
142 = Actions.ClassifyName(getCurScope(), SS, Name, NameLoc, Next);
173 Tok.setAnnotationEndLoc(NameLoc);
180 Tok.setAnnotationEndLoc(NameLoc);
188 Id.setIdentifier(Name, NameLoc);
/external/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp741 /// \param NameLoc The source location of the name of the parameter pack.
746 SourceLocation NameLoc,
750 LookupResult R(*this, &Name, NameLoc, LookupOrdinaryName);
767 Diag(NameLoc, diag::err_sizeof_pack_no_pack_name_suggest)
770 NameLoc, Corrected.getAsString(getLangOpts()));
785 Diag(NameLoc, diag::err_sizeof_pack_no_pack_name)
793 ParameterPack, NameLoc, RParenLoc);
743 ActOnSizeofParameterPackExpr(Scope *S, SourceLocation OpLoc, IdentifierInfo &Name, SourceLocation NameLoc, SourceLocation RParenLoc) argument
H A DSemaLambda.cpp481 DeclarationNameLoc NameLoc; local
482 NameLoc.NamedType.TInfo = S.Context.getTrivialTypeSourceInfo(FunctionPtrTy,
486 DeclarationNameInfo(Name, Loc, NameLoc),
553 DeclarationNameLoc NameLoc; local
554 NameLoc.NamedType.TInfo = S.Context.getTrivialTypeSourceInfo(BlockPtrTy, Loc);
557 DeclarationNameInfo(Name, Loc, NameLoc),
H A DSemaDecl.cpp94 ParsedType Sema::getTypeName(IdentifierInfo &II, SourceLocation NameLoc, argument
127 return ActOnTypenameType(S, SourceLocation(), *SS, II, NameLoc).get();
132 II, NameLoc);
149 LookupResult Result(*this, &II, NameLoc, Kind);
183 TemplateName.setIdentifier(NewII, NameLoc);
187 NewSS.MakeTrivial(Context, NNS, SourceRange(NameLoc));
197 ParsedType Ty = getTypeName(*NewII, NameLoc, S, NewSSPtr,
205 Diag(NameLoc, diag::err_unknown_typename_suggest)
207 << FixItHint::CreateReplacement(SourceRange(NameLoc),
214 SS->MakeTrivial(Context, NNS, SourceRange(NameLoc));
473 ClassifyName(Scope *S, CXXScopeSpec &SS, IdentifierInfo *&Name, SourceLocation NameLoc, const Token &NextToken) argument
2562 CheckAnonMemberRedeclaration(Sema &SemaRef, Scope *S, DeclContext *Owner, DeclarationName Name, SourceLocation NameLoc, unsigned diagnostic) argument
7090 CheckParameter(DeclContext *DC, SourceLocation StartLoc, SourceLocation NameLoc, IdentifierInfo *Name, QualType T, TypeSourceInfo *TSInfo, VarDecl::StorageClass StorageClass, VarDecl::StorageClass StorageClassAsWritten) argument
7954 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
10416 ActOnPragmaRedefineExtname(IdentifierInfo* Name, IdentifierInfo* AliasName, SourceLocation PragmaLoc, SourceLocation NameLoc, SourceLocation AliasNameLoc) argument
10433 ActOnPragmaWeakID(IdentifierInfo* Name, SourceLocation PragmaLoc, SourceLocation NameLoc) argument
10447 ActOnPragmaWeakAlias(IdentifierInfo* Name, IdentifierInfo* AliasName, SourceLocation PragmaLoc, SourceLocation NameLoc, SourceLocation AliasNameLoc) argument
[all...]
H A DSemaTemplate.cpp753 SourceLocation NameLoc,
765 NameLoc.isInvalid()? TmpLoc : NameLoc,
844 IdentifierInfo *Name, SourceLocation NameLoc,
870 LookupResult Previous(*this, Name, NameLoc, LookupOrdinaryName,
879 Diag(NameLoc, diag::err_template_qualified_declarator_no_match)
895 diagnoseQualifiedDeclaration(SS, SemanticContext, Name, NameLoc);
990 Diag(NameLoc, diag::err_redefinition) << Name;
999 DiagnoseTemplateParameterShadow(NameLoc, PrevDecl);
1008 Diag(NameLoc, dia
748 ActOnTemplateTemplateParameter(Scope* S, SourceLocation TmpLoc, TemplateParameterList *Params, SourceLocation EllipsisLoc, IdentifierInfo *Name, SourceLocation NameLoc, unsigned Depth, unsigned Position, SourceLocation EqualLoc, ParsedTemplateArgument Default) argument
842 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
6356 ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, unsigned TagSpec, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr) argument
6749 ActOnDependentTag(Scope *S, unsigned TagSpec, TagUseKind TUK, const CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation TagLoc, SourceLocation NameLoc) argument
[all...]
/external/llvm/lib/Target/MBlaze/AsmParser/
H A DMBlazeAsmParser.cpp64 virtual bool ParseInstruction(StringRef Name, SMLoc NameLoc,
482 ParseInstruction(StringRef Name, SMLoc NameLoc, argument
486 Operands.push_back(MBlazeOperand::CreateToken(Name.substr(0,dotLoc),NameLoc));
488 Operands.push_back(MBlazeOperand::CreateToken(Name.substr(dotLoc),NameLoc));
/external/llvm/lib/AsmParser/
H A DLLParser.cpp325 LocTy NameLoc = Lex.getLoc(); local
333 if (ParseStructDefinition(NameLoc, Name,
339 return Error(NameLoc, "non-struct types may not be recursive");
393 LocTy NameLoc = Lex.getLoc(); local
413 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility);
414 return ParseAlias(Name, NameLoc, Visibility);
422 LocTy NameLoc = Lex.getLoc(); local
434 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility);
435 return ParseAlias(Name, NameLoc, Visibility);
564 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 DDeclarationName.cpp599 return NameLoc;
617 return NameLoc;
624 return NameLoc;
/external/llvm/lib/TableGen/
H A DTGParser.h169 Init *ParseIDValue(Record *CurRec, const std::string &Name, SMLoc NameLoc,
H A DTGParser.cpp779 const std::string &Name, SMLoc NameLoc,
825 Error(NameLoc, "Variable not defined: '" + Name + "'");
1227 SMLoc NameLoc = Lex.getLoc(); local
1230 return ParseIDValue(CurRec, Name, NameLoc, Mode); // Value ::= IDValue
1243 Error(NameLoc, "Expected a class name, got '" + Name + "'");
1259 NameLoc,
1262 SCRef.RefLoc = NameLoc;
2091 SMLoc NameLoc = Lex.getLoc(); local
2110 Result.push_back(LetRecord(Name, Bits, Val, NameLoc));
778 ParseIDValue(Record *CurRec, const std::string &Name, SMLoc NameLoc, IDParseMode Mode) argument
/external/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp102 virtual bool ParseInstruction(StringRef Name, SMLoc NameLoc,
939 ParseInstruction(StringRef Name, SMLoc NameLoc, argument
1007 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc));
1010 Operands.push_back(X86Operand::CreateImm(ExtraImmOp, NameLoc, NameLoc));
1066 Operands.push_back(X86Operand::CreateImm(ExtraImmOp, NameLoc, NameLoc));

Completed in 260 milliseconds

12