/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 | 152 SourceLocation NameLoc, Sema::LookupNameKind LookupKind, 158 NameInfo(Name, NameLoc), 151 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 | 434 SourceLocation NameLoc; member in struct:clang::DeclarationNameInfo 442 DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc) argument 443 : Name(Name), NameLoc(NameLoc), LocInfo(Name) {} 445 DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc, argument 447 : Name(Name), NameLoc(NameLoc), LocInfo(LocInfo) {} 455 SourceLocation getLoc() const { return NameLoc; } 457 void setLoc(SourceLocation L) { NameLoc = L; } 527 SourceLocation getBeginLoc() const { return NameLoc; } [all...] |
H A D | TypeLoc.h | 447 SourceLocation NameLoc; member in struct:clang::TypeSpecLocInfo 461 return this->getLocalData()->NameLoc; 464 this->getLocalData()->NameLoc = Loc; 894 SourceLocation NameLoc; 909 return getLocalData()->NameLoc; 913 getLocalData()->NameLoc = Loc; 1351 SourceLocation NameLoc; 1402 return getLocalData()->NameLoc; 1405 getLocalData()->NameLoc = Loc; 1693 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 SourceLocation getLocStart() const LLVM_READONLY { return NameLoc; } 3543 SourceLocation getLocEnd() const LLVM_READONLY { return NameLoc; } 3581 SourceLocation NameLoc; 3591 SourceLocation NameLoc, 3598 SourceLocation getParameterPackLocation() const { return NameLoc; } 3604 SourceLocation getLocStart() const LLVM_READONLY { return NameLoc; } 3605 SourceLocation getLocEnd() const LLVM_READONLY { return NameLoc; } [all...] |
/external/clang/unittests/Lex/ |
H A D | PPCallbacksTest.cpp | 101 clang::SourceLocation NameLoc, const clang::IdentifierInfo *Name, 103 this->NameLoc = NameLoc; 109 SourceLocation NameLoc; member in class:__anon18744::PragmaOpenCLExtensionCallbacks 100 PragmaOpenCLExtension( clang::SourceLocation NameLoc, const clang::IdentifierInfo *Name, clang::SourceLocation StateLoc, unsigned State) argument
|
/external/clang/lib/Parse/ |
H A D | ParseInit.cpp | 144 SourceLocation NameLoc = ConsumeToken(); // Eat the identifier. local 149 Diag(NameLoc, diag::ext_gnu_old_style_field_designator) 150 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc), 154 D.AddDesignator(Designator::getField(FieldName, SourceLocation(), NameLoc));
|
H A D | ParseTemplate.cpp | 485 SourceLocation NameLoc; local 489 NameLoc = ConsumeToken(); 502 DiagnoseMisplacedEllipsis(EllipsisLoc, NameLoc, AlreadyHasEllipsis, true); 514 KeyLoc, ParamName, NameLoc, Depth, Position, 583 SourceLocation NameLoc; local 587 NameLoc = ConsumeToken(); 600 DiagnoseMisplacedEllipsis(EllipsisLoc, NameLoc, AlreadyHasEllipsis, true); 626 ParamName, NameLoc, Depth,
|
H A D | ParseExprCXX.cpp | 1445 SourceLocation NameLoc = ConsumeToken(); local 1446 SecondTypeName.setIdentifier(Name, NameLoc); 1452 Name, NameLoc, 1855 /// \param NameLoc the location of the class-name in a constructor or 1875 SourceLocation NameLoc, 1934 TemplateName.setIdentifier(Name, NameLoc); 1945 TemplateName.setIdentifier(Name, NameLoc); 1960 Diag(NameLoc, diag::err_destructor_template_id) 2025 Template, NameLoc, 2032 Id.setConstructorName(Type.get(), NameLoc, RAngleLo 1872 ParseUnqualifiedIdTemplateId(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, IdentifierInfo *Name, SourceLocation NameLoc, bool EnteringContext, ParsedType ObjectType, UnqualifiedId &Id, bool AssumeTemplateId) argument [all...] |
H A D | ParseDeclCXX.cpp | 1256 SourceLocation NameLoc; local 1260 NameLoc = ConsumeToken(); 1268 if (ParseTemplateIdAfterTemplateName(TemplateTy(), NameLoc, SS, 1276 Diag(NameLoc, diag::err_explicit_spec_non_template) 1304 NameLoc = ConsumeToken(); 1311 SourceRange Range(NameLoc); 1576 NameLoc, attrs.getList()); 1584 Name, NameLoc, attrs.getList(), 1614 SS, Name, NameLoc, attrs.getList(), AS, 1626 SS, Name, StartLoc, NameLoc); [all...] |
H A D | ParseExpr.cpp | 1581 SourceLocation NameLoc; local 1588 NameLoc = ConsumeToken(); 1592 RParenLoc = PP.getLocForEndOfToken(NameLoc); 1599 NameLoc = ConsumeToken(); 1601 RParenLoc = PP.getLocForEndOfToken(NameLoc); 1618 *Name, NameLoc,
|
/external/llvm/lib/Target/X86/AsmParser/ |
H A D | X86AsmParser.cpp | 759 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/include/clang/Lex/ |
H A D | PPCallbacks.h | 221 virtual void PragmaOpenCLExtension(SourceLocation NameLoc, argument 418 void PragmaOpenCLExtension(SourceLocation NameLoc, const IdentifierInfo *Name, 420 First->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State); 421 Second->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State);
|
/external/llvm/include/llvm/MC/ |
H A D | MCTargetAsmParser.h | 133 /// \param NameLoc - The source location of the name. 138 SMLoc NameLoc, OperandVector &Operands) = 0;
|
/external/clang/lib/AST/ |
H A D | DeclarationName.cpp | 562 return NameLoc; 580 return NameLoc; 587 return NameLoc;
|
H A D | ExprCXX.cpp | 1423 SourceLocation NameLoc, 1428 NumArguments(ArgPack.pack_size()), NameLoc(NameLoc) { } 1435 SourceLocation NameLoc, 1440 ParamPack(ParamPack), NameLoc(NameLoc), NumParameters(NumParams) { 1448 ParmVarDecl *ParamPack, SourceLocation NameLoc, 1452 FunctionParmPackExpr(T, ParamPack, NameLoc, Params.size(), Params.data()); 1421 SubstNonTypeTemplateParmPackExpr(QualType T, NonTypeTemplateParmDecl *Param, SourceLocation NameLoc, const TemplateArgument &ArgPack) argument 1434 FunctionParmPackExpr(QualType T, ParmVarDecl *ParamPack, SourceLocation NameLoc, unsigned NumParams, Decl * const *Params) argument 1447 Create(const ASTContext &Context, QualType T, ParmVarDecl *ParamPack, SourceLocation NameLoc, ArrayRef<Decl *> Params) argument
|
/external/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 392 LocTy NameLoc = Lex.getLoc(); local 400 if (ParseStructDefinition(NameLoc, Name, 406 return Error(NameLoc, "non-struct types may not be recursive"); 462 LocTy NameLoc = Lex.getLoc(); local 487 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility, 489 return ParseAlias(Name, NameLoc, Visibility, DLLStorageClass, TLM, 499 LocTy NameLoc = Lex.getLoc(); local 516 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility, 518 return ParseAlias(Name, NameLoc, Visibility, DLLStorageClass, TLM, 525 LocTy NameLoc local 705 ParseAlias(const std::string &Name, LocTy NameLoc, unsigned Visibility, unsigned DLLStorageClass, GlobalVariable::ThreadLocalMode TLM, bool UnnamedAddr) argument 803 ParseGlobal(const std::string &Name, LocTy NameLoc, unsigned Linkage, bool HasLinkage, unsigned Visibility, unsigned DLLStorageClass, GlobalVariable::ThreadLocalMode TLM, bool UnnamedAddr) argument [all...] |
/external/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 133 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 D | SemaTemplateVariadic.cpp | 790 /// \param NameLoc The source location of the name of the parameter pack. 795 SourceLocation NameLoc, 799 LookupResult R(*this, &Name, NameLoc, LookupOrdinaryName); 830 Diag(NameLoc, diag::err_sizeof_pack_no_pack_name) 838 ParameterPack, NameLoc, RParenLoc); 792 ActOnSizeofParameterPackExpr(Scope *S, SourceLocation OpLoc, IdentifierInfo &Name, SourceLocation NameLoc, SourceLocation RParenLoc) argument
|
H A D | SemaTemplate.cpp | 744 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...] |
/external/llvm/lib/TableGen/ |
H A D | TGParser.h | 170 Init *ParseIDValue(Record *CurRec, const std::string &Name, SMLoc NameLoc,
|
H A D | TGParser.cpp | 733 const std::string &Name, SMLoc NameLoc, 779 Error(NameLoc, "Variable not defined: '" + Name + "'"); 1198 SMLoc NameLoc = Lex.getLoc(); local 1201 return ParseIDValue(CurRec, Name, NameLoc, Mode); // Value ::= IDValue 1214 Error(NameLoc, "Expected a class name, got '" + Name + "'"); 1229 Record *NewRec = new Record(GetNewAnonymousName(), NameLoc, Records, 1232 SCRef.RefRange = SMRange(NameLoc, EndLoc); 2159 SMLoc NameLoc = Lex.getLoc(); local 2178 Result.push_back(LetRecord(Name, Bits, Val, NameLoc)); 732 ParseIDValue(Record *CurRec, const std::string &Name, SMLoc NameLoc, IDParseMode Mode) argument
|
/external/llvm/lib/Target/AArch64/AsmParser/ |
H A D | AArch64AsmParser.cpp | 59 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/Sparc/AsmParser/ |
H A D | SparcAsmParser.cpp | 55 SMLoc NameLoc, OperandVector &Operands) override; 451 StringRef Name, SMLoc NameLoc, 455 Operands.push_back(SparcOperand::CreateToken(Name, NameLoc)); 450 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, OperandVector &Operands) argument
|
/external/llvm/lib/Target/SystemZ/AsmParser/ |
H A D | SystemZAsmParser.cpp | 345 SMLoc NameLoc, OperandVector &Operands) override; 601 StringRef Name, SMLoc NameLoc, 603 Operands.push_back(SystemZOperand::createToken(Name, NameLoc)); 600 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, OperandVector &Operands) argument
|