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

12

/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.h151 SourceLocation NameLoc, Sema::LookupNameKind LookupKind,
157 NameInfo(Name, NameLoc),
150 LookupResult(Sema &SemaRef, DeclarationName Name, SourceLocation NameLoc, Sema::LookupNameKind LookupKind, Sema::RedeclarationKind Redecl = Sema::NotForRedeclaration) argument
/external/clang/include/clang/AST/
H A DDeclarationName.h433 SourceLocation NameLoc; member in struct:clang::DeclarationNameInfo
441 DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc) argument
442 : Name(Name), NameLoc(NameLoc), LocInfo(Name) {}
444 DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc, argument
446 : Name(Name), NameLoc(NameLoc), LocInfo(LocInfo) {}
454 SourceLocation getLoc() const { return NameLoc; }
456 void setLoc(SourceLocation L) { NameLoc = L; }
526 SourceLocation getBeginLoc() const { return NameLoc; }
[all...]
H A DTypeLoc.h444 SourceLocation NameLoc; member in struct:clang::TypeSpecLocInfo
458 return this->getLocalData()->NameLoc;
461 this->getLocalData()->NameLoc = Loc;
891 SourceLocation NameLoc;
906 return getLocalData()->NameLoc;
910 getLocalData()->NameLoc = Loc;
1345 SourceLocation NameLoc;
1396 return getLocalData()->NameLoc;
1399 getLocalData()->NameLoc = Loc;
1687 SourceLocation NameLoc;
[all...]
H A DExprCXX.h3730 SourceLocation NameLoc;
3747 Param(param), Replacement(replacement), NameLoc(loc) {}
3749 SourceLocation getNameLoc() const { return NameLoc; }
3750 SourceLocation getLocStart() const LLVM_READONLY { return NameLoc; }
3751 SourceLocation getLocEnd() const LLVM_READONLY { return NameLoc; }
3789 SourceLocation NameLoc;
3799 SourceLocation NameLoc,
3806 SourceLocation getParameterPackLocation() const { return NameLoc; }
3812 SourceLocation getLocStart() const LLVM_READONLY { return NameLoc; }
3813 SourceLocation getLocEnd() const LLVM_READONLY { return NameLoc; }
[all...]
/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.cpp495 SourceLocation NameLoc; local
499 NameLoc = ConsumeToken();
521 EllipsisLoc, KeyLoc, ParamName, NameLoc,
582 SourceLocation NameLoc; local
586 NameLoc = ConsumeToken();
620 ParamName, NameLoc, Depth,
H A DParseDeclCXX.cpp1213 SourceLocation NameLoc; local
1217 NameLoc = ConsumeToken();
1225 if (ParseTemplateIdAfterTemplateName(TemplateTy(), NameLoc, SS,
1233 Diag(NameLoc, diag::err_explicit_spec_non_template)
1266 NameLoc = ConsumeToken();
1273 SourceRange Range(NameLoc);
1539 NameLoc, attrs.getList());
1547 Name, NameLoc, attrs.getList(),
1576 SS, Name, NameLoc, attrs.getList(), AS,
1587 SS, Name, StartLoc, NameLoc);
[all...]
H A DParsePragma.cpp164 SourceLocation NameLoc = Tok.getLocation(); local
178 PP.Diag(NameLoc, diag::warn_pragma_unknown_extension) << ename;
707 SourceLocation NameLoc = Tok.getLocation(); local
746 Toks[0].setLocation(NameLoc);
H A DParseExprCXX.cpp1328 SourceLocation NameLoc = ConsumeToken(); local
1329 SecondTypeName.setIdentifier(Name, NameLoc);
1335 Name, NameLoc,
1736 /// \param NameLoc the location of the class-name in a constructor or
1756 SourceLocation NameLoc,
1815 TemplateName.setIdentifier(Name, NameLoc);
1826 TemplateName.setIdentifier(Name, NameLoc);
1841 Diag(NameLoc, diag::err_destructor_template_id)
1905 Template, NameLoc,
1912 Id.setConstructorName(Type.get(), NameLoc, RAngleLo
1753 ParseUnqualifiedIdTemplateId(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, IdentifierInfo *Name, SourceLocation NameLoc, bool EnteringContext, ParsedType ObjectType, UnqualifiedId &Id, bool AssumeTemplateId) argument
[all...]
H A DParseExpr.cpp1652 SourceLocation NameLoc; local
1659 NameLoc = ConsumeToken();
1663 RParenLoc = PP.getLocForEndOfToken(NameLoc);
1670 NameLoc = ConsumeToken();
1672 RParenLoc = PP.getLocForEndOfToken(NameLoc);
1686 *Name, NameLoc,
H A DParser.cpp1373 SourceLocation NameLoc = Tok.getLocation(); local
1393 = Actions.ClassifyName(getCurScope(), SS, Name, NameLoc, Next,
1417 Tok.setAnnotationEndLoc(NameLoc);
1426 Tok.setAnnotationEndLoc(NameLoc);
1445 Id.setIdentifier(Name, NameLoc);
/external/llvm/include/llvm/MC/
H A DMCTargetAsmParser.h124 /// \param NameLoc - The source location of the name.
129 SMLoc NameLoc,
/external/clang/lib/AST/
H A DDeclarationName.cpp551 return NameLoc;
569 return NameLoc;
576 return NameLoc;
H A DExprCXX.cpp1346 SourceLocation NameLoc,
1351 NumArguments(ArgPack.pack_size()), NameLoc(NameLoc) { }
1358 SourceLocation NameLoc,
1363 ParamPack(ParamPack), NameLoc(NameLoc), NumParameters(NumParams) {
1371 ParmVarDecl *ParamPack, SourceLocation NameLoc,
1375 FunctionParmPackExpr(T, ParamPack, NameLoc, Params.size(), Params.data());
1344 SubstNonTypeTemplateParmPackExpr(QualType T, NonTypeTemplateParmDecl *Param, SourceLocation NameLoc, const TemplateArgument &ArgPack) argument
1357 FunctionParmPackExpr(QualType T, ParmVarDecl *ParamPack, SourceLocation NameLoc, unsigned NumParams, Decl * const *Params) argument
1370 Create(ASTContext &Context, QualType T, ParmVarDecl *ParamPack, SourceLocation NameLoc, ArrayRef<Decl *> Params) argument
/external/clang/lib/Sema/
H A DSemaLambda.cpp832 DeclarationNameLoc NameLoc; local
833 NameLoc.NamedType.TInfo = S.Context.getTrivialTypeSourceInfo(FunctionPtrTy,
837 DeclarationNameInfo(Name, Loc, NameLoc),
900 DeclarationNameLoc NameLoc; local
901 NameLoc.NamedType.TInfo = S.Context.getTrivialTypeSourceInfo(BlockPtrTy, Loc);
904 DeclarationNameInfo(Name, Loc, NameLoc),
H A DSemaTemplateVariadic.cpp798 /// \param NameLoc The source location of the name of the parameter pack.
803 SourceLocation NameLoc,
807 LookupResult R(*this, &Name, NameLoc, LookupOrdinaryName);
824 Diag(NameLoc, diag::err_sizeof_pack_no_pack_name_suggest)
827 NameLoc, Corrected.getAsString(getLangOpts()));
842 Diag(NameLoc, diag::err_sizeof_pack_no_pack_name)
850 ParameterPack, NameLoc, RParenLoc);
800 ActOnSizeofParameterPackExpr(Scope *S, SourceLocation OpLoc, IdentifierInfo &Name, SourceLocation NameLoc, SourceLocation RParenLoc) argument
H A DSemaDecl.cpp132 ParsedType Sema::getTypeName(const IdentifierInfo &II, SourceLocation NameLoc, argument
165 return ActOnTypenameType(S, SourceLocation(), *SS, II, NameLoc).get();
170 II, NameLoc);
187 LookupResult Result(*this, &II, NameLoc, Kind);
221 TemplateName.setIdentifier(NewII, NameLoc);
225 NewSS.MakeTrivial(Context, NNS, SourceRange(NameLoc));
235 ParsedType Ty = getTypeName(*NewII, NameLoc, S, NewSSPtr,
243 Diag(NameLoc, diag::err_unknown_type_or_class_name_suggest)
245 << FixItHint::CreateReplacement(SourceRange(NameLoc),
252 SS->MakeTrivial(Context, NNS, SourceRange(NameLoc));
524 isTagTypeWithMissingTag(Sema &SemaRef, LookupResult &Result, Scope *S, CXXScopeSpec &SS, IdentifierInfo *&Name, SourceLocation NameLoc) argument
579 buildNestedType(Sema &S, CXXScopeSpec &SS, QualType T, SourceLocation NameLoc) argument
593 ClassifyName(Scope *S, CXXScopeSpec &SS, IdentifierInfo *&Name, SourceLocation NameLoc, const Token &NextToken, bool IsAddressOfOperand, CorrectionCandidateCallback *CCC) argument
3298 CheckAnonMemberRedeclaration(Sema &SemaRef, Scope *S, DeclContext *Owner, DeclarationName Name, SourceLocation NameLoc, unsigned diagnostic) argument
9030 CheckParameter(DeclContext *DC, SourceLocation StartLoc, SourceLocation NameLoc, IdentifierInfo *Name, QualType T, TypeSourceInfo *TSInfo, VarDecl::StorageClass StorageClass) argument
10032 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
12629 ActOnPragmaRedefineExtname(IdentifierInfo* Name, IdentifierInfo* AliasName, SourceLocation PragmaLoc, SourceLocation NameLoc, SourceLocation AliasNameLoc) argument
12646 ActOnPragmaWeakID(IdentifierInfo* Name, SourceLocation PragmaLoc, SourceLocation NameLoc) argument
12660 ActOnPragmaWeakAlias(IdentifierInfo* Name, IdentifierInfo* AliasName, SourceLocation PragmaLoc, SourceLocation NameLoc, SourceLocation AliasNameLoc) argument
[all...]
H A DSemaTemplate.cpp757 SourceLocation NameLoc,
769 NameLoc.isInvalid()? TmpLoc : NameLoc,
777 maybeDiagnoseTemplateParameterShadow(*this, S, NameLoc, Name);
850 IdentifierInfo *Name, SourceLocation NameLoc,
878 LookupResult Previous(*this, Name, NameLoc,
889 Diag(NameLoc, diag::err_template_qualified_declarator_no_match)
905 diagnoseQualifiedDeclaration(SS, SemanticContext, Name, NameLoc);
964 LookupResult Previous(*this, Name, NameLoc, LookupOrdinaryName,
1010 Diag(NameLoc, dia
752 ActOnTemplateTemplateParameter(Scope* S, SourceLocation TmpLoc, TemplateParameterList *Params, SourceLocation EllipsisLoc, IdentifierInfo *Name, SourceLocation NameLoc, unsigned Depth, unsigned Position, SourceLocation EqualLoc, ParsedTemplateArgument Default) argument
848 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
6980 ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, unsigned TagSpec, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr) argument
7439 ActOnDependentTag(Scope *S, unsigned TagSpec, TagUseKind TUK, const CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation TagLoc, SourceLocation NameLoc) argument
[all...]
/external/llvm/lib/AsmParser/
H A DLLParser.cpp383 LocTy NameLoc = Lex.getLoc(); local
391 if (ParseStructDefinition(NameLoc, Name,
397 return Error(NameLoc, "non-struct types may not be recursive");
451 LocTy NameLoc = Lex.getLoc(); local
471 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility);
472 return ParseAlias(Name, NameLoc, Visibility);
480 LocTy NameLoc = Lex.getLoc(); local
492 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility);
493 return ParseAlias(Name, NameLoc, Visibility);
622 bool LLParser::ParseAlias(const std::string &Name, LocTy NameLoc, argument
703 ParseGlobal(const std::string &Name, LocTy NameLoc, unsigned Linkage, bool HasLinkage, unsigned Visibility) argument
[all...]
/external/llvm/lib/TableGen/
H A DTGParser.h167 Init *ParseIDValue(Record *CurRec, const std::string &Name, SMLoc NameLoc,
H A DTGParser.cpp743 const std::string &Name, SMLoc NameLoc,
789 Error(NameLoc, "Variable not defined: '" + Name + "'");
1187 SMLoc NameLoc = Lex.getLoc(); local
1190 return ParseIDValue(CurRec, Name, NameLoc, Mode); // Value ::= IDValue
1203 Error(NameLoc, "Expected a class name, got '" + Name + "'");
1220 NameLoc,
1224 SCRef.RefRange = SMRange(NameLoc, EndLoc);
2113 SMLoc NameLoc = Lex.getLoc(); local
2132 Result.push_back(LetRecord(Name, Bits, Val, NameLoc));
742 ParseIDValue(Record *CurRec, const std::string &Name, SMLoc NameLoc, IDParseMode Mode) argument
/external/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp343 StringRef Name, SMLoc NameLoc,
615 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, argument
617 Operands.push_back(SystemZOperand::createToken(Name, NameLoc));
/external/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp232 StringRef Name, SMLoc NameLoc,
1196 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, argument
1220 PPCOperand::CreateTokenWithStringCopy(Mnemonic, NameLoc, isPPC64()));
1222 Operands.push_back(PPCOperand::CreateToken(Mnemonic, NameLoc, isPPC64()));
1224 SMLoc DotLoc = SMLoc::getFromPointer(NameLoc.getPointer() + Dot);
/external/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp567 SMLoc NameLoc,
1855 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, argument
1924 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc));
1927 Operands.push_back(X86Operand::CreateImm(ExtraImmOp, NameLoc, NameLoc));
1983 Operands.push_back(X86Operand::CreateImm(ExtraImmOp, NameLoc, NameLoc));

Completed in 372 milliseconds

12