Searched defs:NameLoc (Results 26 - 43 of 43) sorted by relevance

12

/external/clang/lib/Parse/
H A DParseDecl.cpp3533 SourceLocation NameLoc; local
3536 NameLoc = ConsumeToken();
3709 StartLoc, SS, Name, NameLoc, attrs.getList(),
3725 getCurScope(), DeclSpec::TST_enum, TUK, SS, Name, StartLoc, NameLoc);
3732 NameLoc.isValid() ? NameLoc : StartLoc,
3756 NameLoc.isValid() ? NameLoc : StartLoc,
/external/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp759 SMLoc NameLoc, OperandVector &Operands) override;
1880 SMLoc NameLoc, OperandVector &Operands) {
1948 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc));
1951 Operands.push_back(X86Operand::CreateImm(ExtraImmOp, NameLoc, NameLoc));
1999 Operands.push_back(X86Operand::CreateImm(ExtraImmOp, NameLoc, NameLoc));
2033 Operands.push_back(X86Operand::CreateReg(X86::DX, NameLoc, NameLoc));
2034 Operands.push_back(DefaultMemDIOperand(NameLoc));
1879 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, OperandVector &Operands) argument
[all...]
/external/clang/lib/AST/
H A DExpr.cpp382 SourceLocation NameLoc,
389 DeclarationNameInfo(D->getDeclName(), NameLoc),
377 Create(const ASTContext &Context, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, ValueDecl *D, bool RefersToEnclosingLocal, SourceLocation NameLoc, QualType T, ExprValueKind VK, NamedDecl *FoundD, const TemplateArgumentListInfo *TemplateArgs) argument
H A DASTContext.cpp3129 SourceLocation NameLoc,
3140 TL.setTemplateNameLoc(NameLoc);
3997 SourceLocation NameLoc) const {
4003 NameLoc);
4008 return DeclarationNameInfo((*Storage->begin())->getDeclName(), NameLoc);
4016 return DeclarationNameInfo(DName, NameLoc);
4023 return DeclarationNameInfo(DName, NameLoc, DNLoc);
4031 NameLoc);
4038 NameLoc);
3128 getTemplateSpecializationTypeInfo(TemplateName Name, SourceLocation NameLoc, const TemplateArgumentListInfo &Args, QualType Underlying) const argument
/external/clang/lib/Sema/
H A DSemaExprCXX.cpp49 SourceLocation NameLoc,
78 Context.getTrivialTypeSourceInfo(Type, NameLoc));
83 SourceLocation NameLoc,
182 LookupResult Found(*this, &II, NameLoc, LookupOrdinaryName);
207 Context.getTrivialTypeSourceInfo(T, NameLoc));
245 Context.getTrivialTypeSourceInfo(MemberOfType, NameLoc));
266 Context.getTrivialTypeSourceInfo(MemberOfType, NameLoc));
279 Context.getTrivialTypeSourceInfo(MemberOfType, NameLoc));
294 II, NameLoc);
300 Diag(NameLoc, dia
48 getInheritingConstructorName(CXXScopeSpec &SS, SourceLocation NameLoc, IdentifierInfo &Name) argument
81 getDestructorName(SourceLocation TildeLoc, IdentifierInfo &II, SourceLocation NameLoc, Scope *S, CXXScopeSpec &SS, ParsedType ObjectTypePtr, bool EnteringContext) argument
5299 DiagnoseDtorReference(SourceLocation NameLoc, Expr *MemExpr) argument
[all...]
H A DSemaExprObjC.cpp1826 SourceLocation NameLoc,
1838 LookupResult Result(*this, Name, NameLoc, LookupOrdinaryName);
1882 DiagnoseUseOfDecl(Type, NameLoc);
1889 TypeSourceInfo *TSInfo = Context.getTrivialTypeSourceInfo(T, NameLoc);
1913 TypeSourceInfo *TSInfo = Context.getTrivialTypeSourceInfo(T, NameLoc);
1824 getObjCMessageKind(Scope *S, IdentifierInfo *Name, SourceLocation NameLoc, bool IsSuper, bool HasTrailingDot, ParsedType &ReceiverType) argument
H A DSemaLookup.cpp1839 SourceLocation NameLoc = Result.getNameLoc(); local
1846 Diag(NameLoc, diag::err_ambiguous_member_multiple_subobjects)
1860 Diag(NameLoc, diag::err_ambiguous_member_multiple_subobject_types)
1876 Diag(NameLoc, diag::err_ambiguous_tag_hiding) << Name << LookupRange;
1902 Diag(NameLoc, diag::err_ambiguous_reference) << Name << LookupRange;
H A DSemaTemplate.cpp744 SourceLocation NameLoc,
756 NameLoc.isInvalid()? TmpLoc : NameLoc,
764 maybeDiagnoseTemplateParameterShadow(*this, S, NameLoc, Name);
837 IdentifierInfo *Name, SourceLocation NameLoc,
865 LookupResult Previous(*this, Name, NameLoc,
875 Diag(NameLoc, TUK == TUK_Friend
893 diagnoseQualifiedDeclaration(SS, SemanticContext, Name, NameLoc);
952 LookupResult Previous(*this, Name, NameLoc, LookupOrdinaryName,
999 Diag(NameLoc, dia
739 ActOnTemplateTemplateParameter(Scope* S, SourceLocation TmpLoc, TemplateParameterList *Params, SourceLocation EllipsisLoc, IdentifierInfo *Name, SourceLocation NameLoc, unsigned Depth, unsigned Position, SourceLocation EqualLoc, ParsedTemplateArgument Default) argument
835 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
7232 ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, unsigned TagSpec, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr) argument
7690 ActOnDependentTag(Scope *S, unsigned TagSpec, TagUseKind TUK, const CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation TagLoc, SourceLocation NameLoc) argument
[all...]
H A DSemaDecl.cpp133 SourceLocation NameLoc) {
172 S.Diag(NameLoc, diag::ext_found_via_dependent_bases_lookup) << &II;
180 SS.MakeTrivial(Context, NNS, SourceRange(NameLoc));
184 DepTL.setNameLoc(NameLoc);
198 ParsedType Sema::getTypeName(const IdentifierInfo &II, SourceLocation NameLoc, argument
231 return ActOnTypenameType(S, SourceLocation(), *SS, II, NameLoc).get();
235 II, NameLoc);
251 LookupResult Result(*this, &II, NameLoc, Kind);
276 recoverFromTypeInKnownDependentBase(*this, II, NameLoc))
294 TemplateName.setIdentifier(NewII, NameLoc);
131 recoverFromTypeInKnownDependentBase(Sema &S, const IdentifierInfo &II, SourceLocation NameLoc) argument
430 ActOnDelayedDefaultTemplateArg(const IdentifierInfo &II, SourceLocation NameLoc) argument
618 isTagTypeWithMissingTag(Sema &SemaRef, LookupResult &Result, Scope *S, CXXScopeSpec &SS, IdentifierInfo *&Name, SourceLocation NameLoc) argument
668 buildNestedType(Sema &S, CXXScopeSpec &SS, QualType T, SourceLocation NameLoc) argument
682 ClassifyName(Scope *S, CXXScopeSpec &SS, IdentifierInfo *&Name, SourceLocation NameLoc, const Token &NextToken, bool IsAddressOfOperand, CorrectionCandidateCallback *CCC) argument
3540 CheckAnonMemberRedeclaration(Sema &SemaRef, Scope *S, DeclContext *Owner, DeclarationName Name, SourceLocation NameLoc, unsigned diagnostic) argument
9613 CheckParameter(DeclContext *DC, SourceLocation StartLoc, SourceLocation NameLoc, IdentifierInfo *Name, QualType T, TypeSourceInfo *TSInfo, VarDecl::StorageClass StorageClass) argument
10728 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, bool IsTypeSpecifier) argument
13424 ActOnPragmaRedefineExtname(IdentifierInfo* Name, IdentifierInfo* AliasName, SourceLocation PragmaLoc, SourceLocation NameLoc, SourceLocation AliasNameLoc) argument
13441 ActOnPragmaWeakID(IdentifierInfo* Name, SourceLocation PragmaLoc, SourceLocation NameLoc) argument
13455 ActOnPragmaWeakAlias(IdentifierInfo* Name, IdentifierInfo* AliasName, SourceLocation PragmaLoc, SourceLocation NameLoc, SourceLocation AliasNameLoc) argument
[all...]
H A DSemaDeclCXX.cpp2852 SourceLocation NameLoc = TInfo->getTypeLoc().getLocalSourceRange().getBegin(); local
2854 return Diag(NameLoc, diag::err_delegating_ctor)
2856 Diag(NameLoc, diag::warn_cxx98_compat_delegating_ctor);
2870 InitList ? InitializationKind::CreateDirectList(NameLoc)
2871 : InitializationKind::CreateDirect(NameLoc, InitRange.getBegin(),
7805 SourceLocation NameLoc,
7848 Diag(NameLoc, diag::err_using_decl_redeclaration) << SS.getRange();
7863 SourceLocation NameLoc) {
7878 Diag(NameLoc, diag::err_using_decl_can_not_refer_to_class_member)
7966 Diag(NameLoc,
7802 CheckUsingDeclRedeclaration(SourceLocation UsingLoc, bool HasTypenameKeyword, const CXXScopeSpec &SS, SourceLocation NameLoc, const LookupResult &Prev) argument
7860 CheckUsingDeclQualifier(SourceLocation UsingLoc, const CXXScopeSpec &SS, const DeclarationNameInfo &NameInfo, SourceLocation NameLoc) argument
11608 ActOnTemplatedFriendTag(Scope *S, SourceLocation FriendLoc, unsigned TagSpec, SourceLocation TagLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr, MultiTemplateParamsArg TempParamLists) argument
[all...]
H A DTreeTransform.h457 /// \param NameLoc The source location of the template name.
472 SourceLocation NameLoc,
851 SourceLocation NameLoc,
858 = getDerived().RebuildTemplateName(SS, *Name, NameLoc, QualType(),
874 getDerived().RebuildTemplateSpecializationType(InstName, NameLoc, Args);
1020 SourceLocation NameLoc,
1033 SourceLocation NameLoc,
3173 SourceLocation NameLoc,
3181 = cast_or_null<TemplateDecl>(getDerived().TransformDecl(NameLoc,
3210 NameLoc,
847 RebuildDependentTemplateSpecializationType( ElaboratedTypeKeyword Keyword, NestedNameSpecifierLoc QualifierLoc, const IdentifierInfo *Name, SourceLocation NameLoc, TemplateArgumentListInfo &Args) argument
3171 TransformTemplateName(CXXScopeSpec &SS, TemplateName Name, SourceLocation NameLoc, QualType ObjectType, NamedDecl *FirstQualifierInScope) argument
9998 RebuildTemplateName(CXXScopeSpec &SS, const IdentifierInfo &Name, SourceLocation NameLoc, QualType ObjectType, NamedDecl *FirstQualifierInScope) argument
10017 RebuildTemplateName(CXXScopeSpec &SS, OverloadedOperatorKind Operator, SourceLocation NameLoc, QualType ObjectType) argument
10129 DeclarationNameLoc &NameLoc = DRE->getNameInfo().getInfo(); local
[all...]
H A DSemaExpr.cpp2015 SourceLocation NameLoc = NameInfo.getLoc(); local
2091 NamedDecl *D = ImplicitlyDefineFunction(NameLoc, *II, S);
4085 SourceLocation NameLoc = ME ? ME->getMemberLoc() : Fn->getLocStart(); local
4089 DeclarationNameInfo(FuncName, NameLoc), Sema::LookupOrdinaryName,
4094 OverloadCandidateSet OCS(NameLoc, OverloadCandidateSet::CSK_Normal);
4103 switch (OCS.BestViableFunction(S, NameLoc, Best)) {
/external/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp59 bool parseSysAlias(StringRef Name, SMLoc NameLoc, OperandVector &Operands);
129 SMLoc NameLoc, OperandVector &Operands) override;
2346 bool AArch64AsmParser::parseSysAlias(StringRef Name, SMLoc NameLoc, argument
2353 AArch64Operand::CreateToken("sys", false, NameLoc, getContext()));
3124 StringRef Name, SMLoc NameLoc,
3150 parseDirectiveReq(Name, NameLoc);
3162 bool IsError = parseSysAlias(Head, NameLoc, Operands);
3169 AArch64Operand::CreateToken(Head, false, NameLoc, getContext()));
3178 SMLoc SuffixLoc = SMLoc::getFromPointer(NameLoc.getPointer() +
3186 AArch64Operand::CreateCondCode(CC, NameLoc, NameLo
3123 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, OperandVector &Operands) argument
[all...]
/external/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp90 SMLoc NameLoc, OperandVector &Operands) override;
2267 SMLoc NameLoc, OperandVector &Operands) {
2275 return Error(NameLoc, "Unknown instruction");
2278 Operands.push_back(MipsOperand::CreateToken(Name, NameLoc, *this));
2266 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, OperandVector &Operands) argument
/external/clang/include/clang/AST/
H A DExpr.h967 SourceLocation NameLoc, QualType T, ExprValueKind VK,
1814 SourceLocation NameLoc)
1815 : Range(DotLoc.isValid()? DotLoc : NameLoc, NameLoc),
1820 SourceLocation NameLoc)
1821 : Range(DotLoc.isValid()? DotLoc : NameLoc, NameLoc),
1813 OffsetOfNode(SourceLocation DotLoc, FieldDecl *Field, SourceLocation NameLoc) argument
1819 OffsetOfNode(SourceLocation DotLoc, IdentifierInfo *Name, SourceLocation NameLoc) argument
/external/llvm/lib/MC/MCParser/
H A DAsmParser.cpp283 /// \param NameLoc Instantiation location.
284 bool handleMacroEntry(const MCAsmMacro *M, SMLoc NameLoc);
2097 bool AsmParser::handleMacroEntry(const MCAsmMacro *M, SMLoc NameLoc) { argument
2126 M, NameLoc, CurBuffer, getTok().getLoc(), Instantiation);
/external/clang/include/clang/Sema/
H A DSema.h1401 ParsedType getTypeName(const IdentifierInfo &II, SourceLocation NameLoc,
1423 SourceLocation NameLoc);
1532 /// \param NameLoc The location of the identifier.
1545 SourceLocation NameLoc,
1615 SourceLocation NameLoc, IdentifierInfo *Name,
1779 IdentifierInfo *Name, SourceLocation NameLoc,
1791 IdentifierInfo *Name, SourceLocation NameLoc,
1801 SourceLocation NameLoc);
3503 SourceLocation NameLoc,
3818 SourceLocation NameLoc,
6890 SourceLocation NameLoc; member in struct:clang::Sema::ObjCArgInfo
[all...]
/external/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp353 SMLoc NameLoc, OperandVector &Operands) override;
5298 SMLoc NameLoc, OperandVector &Operands) {
5319 parseDirectiveReq(Name, NameLoc);
5340 return Error(NameLoc, "conditional execution not supported in Thumb1");
5343 Operands.push_back(ARMOperand::CreateToken(Mnemonic, NameLoc));
5351 SMLoc Loc = SMLoc::getFromPointer(NameLoc.getPointer() + 2);
5387 return Error(NameLoc, "instruction '" + Mnemonic +
5394 return Error(NameLoc, "instruction '" + Mnemonic +
5400 SMLoc Loc = SMLoc::getFromPointer(NameLoc.getPointer() + Mnemonic.size());
5407 SMLoc Loc = SMLoc::getFromPointer(NameLoc
5297 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, OperandVector &Operands) argument
[all...]

Completed in 785 milliseconds

12