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

123

/freebsd-9.3-release/contrib/llvm/tools/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.h152 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
/freebsd-9.3-release/contrib/llvm/tools/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.h447 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;
1348 SourceLocation NameLoc;
1399 return getLocalData()->NameLoc;
1402 getLocalData()->NameLoc = Loc;
1690 SourceLocation NameLoc;
[all...]
H A DExprCXX.h3726 SourceLocation NameLoc;
3743 Param(param), Replacement(replacement), NameLoc(loc) {}
3745 SourceLocation getNameLoc() const { return NameLoc; }
3746 SourceLocation getLocStart() const LLVM_READONLY { return NameLoc; }
3747 SourceLocation getLocEnd() const LLVM_READONLY { return NameLoc; }
3785 SourceLocation NameLoc;
3795 SourceLocation NameLoc,
3802 SourceLocation getParameterPackLocation() const { return NameLoc; }
3808 SourceLocation getLocStart() const LLVM_READONLY { return NameLoc; }
3809 SourceLocation getLocEnd() const LLVM_READONLY { return NameLoc; }
[all...]
/freebsd-9.3-release/contrib/llvm/tools/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.cpp497 SourceLocation NameLoc; local
501 NameLoc = ConsumeToken();
523 EllipsisLoc, KeyLoc, ParamName, NameLoc,
584 SourceLocation NameLoc; local
588 NameLoc = ConsumeToken();
623 ParamName, NameLoc, Depth,
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
747 Toks[0].setLocation(NameLoc);
753 PP.getPPCallbacks()->PragmaOpenCLExtension(NameLoc, ename,
H A DParseExprCXX.cpp1392 SourceLocation NameLoc = ConsumeToken(); local
1393 SecondTypeName.setIdentifier(Name, NameLoc);
1399 Name, NameLoc,
1800 /// \param NameLoc the location of the class-name in a constructor or
1820 SourceLocation NameLoc,
1879 TemplateName.setIdentifier(Name, NameLoc);
1890 TemplateName.setIdentifier(Name, NameLoc);
1905 Diag(NameLoc, diag::err_destructor_template_id)
1969 Template, NameLoc,
1976 Id.setConstructorName(Type.get(), NameLoc, RAngleLo
1817 ParseUnqualifiedIdTemplateId(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, IdentifierInfo *Name, SourceLocation NameLoc, bool EnteringContext, ParsedType ObjectType, UnqualifiedId &Id, bool AssumeTemplateId) argument
[all...]
H A DParseDeclCXX.cpp1225 SourceLocation NameLoc; local
1229 NameLoc = ConsumeToken();
1237 if (ParseTemplateIdAfterTemplateName(TemplateTy(), NameLoc, SS,
1245 Diag(NameLoc, diag::err_explicit_spec_non_template)
1278 NameLoc = ConsumeToken();
1285 SourceRange Range(NameLoc);
1553 NameLoc, attrs.getList());
1561 Name, NameLoc, attrs.getList(),
1590 SS, Name, NameLoc, attrs.getList(), AS,
1601 SS, Name, StartLoc, NameLoc);
[all...]
H A DParser.cpp1416 SourceLocation NameLoc = Tok.getLocation(); local
1436 = Actions.ClassifyName(getCurScope(), SS, Name, NameLoc, Next,
1460 Tok.setAnnotationEndLoc(NameLoc);
1469 Tok.setAnnotationEndLoc(NameLoc);
1488 Id.setIdentifier(Name, NameLoc);
/freebsd-9.3-release/contrib/llvm/include/llvm/MC/
H A DMCTargetAsmParser.h125 /// \param NameLoc - The source location of the name.
130 SMLoc NameLoc,
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Lex/
H A DPPCallbacks.h222 virtual void PragmaOpenCLExtension(SourceLocation NameLoc, argument
423 virtual void PragmaOpenCLExtension(SourceLocation NameLoc, argument
426 First->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State);
427 Second->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DDeclarationName.cpp551 return NameLoc;
569 return NameLoc;
576 return NameLoc;
H A DExprCXX.cpp1416 SourceLocation NameLoc,
1421 NumArguments(ArgPack.pack_size()), NameLoc(NameLoc) { }
1428 SourceLocation NameLoc,
1433 ParamPack(ParamPack), NameLoc(NameLoc), NumParameters(NumParams) {
1441 ParmVarDecl *ParamPack, SourceLocation NameLoc,
1445 FunctionParmPackExpr(T, ParamPack, NameLoc, Params.size(), Params.data());
1414 SubstNonTypeTemplateParmPackExpr(QualType T, NonTypeTemplateParmDecl *Param, SourceLocation NameLoc, const TemplateArgument &ArgPack) argument
1427 FunctionParmPackExpr(QualType T, ParmVarDecl *ParamPack, SourceLocation NameLoc, unsigned NumParams, Decl * const *Params) argument
1440 Create(const ASTContext &Context, QualType T, ParmVarDecl *ParamPack, SourceLocation NameLoc, ArrayRef<Decl *> Params) argument
/freebsd-9.3-release/contrib/llvm/lib/AsmParser/
H A DLLParser.cpp387 LocTy NameLoc = Lex.getLoc(); local
395 if (ParseStructDefinition(NameLoc, Name,
401 return Error(NameLoc, "non-struct types may not be recursive");
455 LocTy NameLoc = Lex.getLoc(); local
475 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility);
476 return ParseAlias(Name, NameLoc, Visibility);
484 LocTy NameLoc = Lex.getLoc(); local
496 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility);
497 return ParseAlias(Name, NameLoc, Visibility);
626 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...]
/freebsd-9.3-release/contrib/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
/freebsd-9.3-release/contrib/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp53 SMLoc NameLoc,
444 SMLoc NameLoc,
450 return Error(NameLoc, "Unknown instruction");
453 Operands.push_back(SparcOperand::CreateToken(Name, NameLoc));
443 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, SmallVectorImpl<MCParsedAsmOperand*> &Operands) argument
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
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,
244 SS->MakeTrivial(Context, NNS, SourceRange(NameLoc));
304 DiagnoseUseOfDecl(IIDecl, NameLoc);
316 Builder.pushTypeSpec(T).setNameLoc(NameLoc);
504 isTagTypeWithMissingTag(Sema &SemaRef, LookupResult &Result, Scope *S, CXXScopeSpec &SS, IdentifierInfo *&Name, SourceLocation NameLoc) argument
559 buildNestedType(Sema &S, CXXScopeSpec &SS, QualType T, SourceLocation NameLoc) argument
573 ClassifyName(Scope *S, CXXScopeSpec &SS, IdentifierInfo *&Name, SourceLocation NameLoc, const Token &NextToken, bool IsAddressOfOperand, CorrectionCandidateCallback *CCC) argument
3419 CheckAnonMemberRedeclaration(Sema &SemaRef, Scope *S, DeclContext *Owner, DeclarationName Name, SourceLocation NameLoc, unsigned diagnostic) argument
9266 CheckParameter(DeclContext *DC, SourceLocation StartLoc, SourceLocation NameLoc, IdentifierInfo *Name, QualType T, TypeSourceInfo *TSInfo, VarDecl::StorageClass StorageClass) argument
10328 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
12949 ActOnPragmaRedefineExtname(IdentifierInfo* Name, IdentifierInfo* AliasName, SourceLocation PragmaLoc, SourceLocation NameLoc, SourceLocation AliasNameLoc) argument
12966 ActOnPragmaWeakID(IdentifierInfo* Name, SourceLocation PragmaLoc, SourceLocation NameLoc) argument
12980 ActOnPragmaWeakAlias(IdentifierInfo* Name, IdentifierInfo* AliasName, SourceLocation PragmaLoc, SourceLocation NameLoc, SourceLocation AliasNameLoc) argument
[all...]
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);
838 Diag(NameLoc, diag::err_sizeof_pack_no_pack_name)
846 ParameterPack, NameLoc, RParenLoc);
800 ActOnSizeofParameterPackExpr(Scope *S, SourceLocation OpLoc, IdentifierInfo &Name, SourceLocation NameLoc, SourceLocation RParenLoc) argument
H A DSemaTemplate.cpp749 SourceLocation NameLoc,
761 NameLoc.isInvalid()? TmpLoc : NameLoc,
769 maybeDiagnoseTemplateParameterShadow(*this, S, NameLoc, Name);
842 IdentifierInfo *Name, SourceLocation NameLoc,
870 LookupResult Previous(*this, Name, NameLoc,
880 Diag(NameLoc, TUK == TUK_Friend
898 diagnoseQualifiedDeclaration(SS, SemanticContext, Name, NameLoc);
957 LookupResult Previous(*this, Name, NameLoc, LookupOrdinaryName,
1003 Diag(NameLoc, dia
744 ActOnTemplateTemplateParameter(Scope* S, SourceLocation TmpLoc, TemplateParameterList *Params, SourceLocation EllipsisLoc, IdentifierInfo *Name, SourceLocation NameLoc, unsigned Depth, unsigned Position, SourceLocation EqualLoc, ParsedTemplateArgument Default) argument
840 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
7089 ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, unsigned TagSpec, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, AttributeList *Attr) argument
7551 ActOnDependentTag(Scope *S, unsigned TagSpec, TagUseKind TUK, const CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation TagLoc, SourceLocation NameLoc) argument
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp347 StringRef Name, SMLoc NameLoc,
627 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, argument
629 Operands.push_back(SystemZOperand::createToken(Name, NameLoc));
/freebsd-9.3-release/contrib/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp235 StringRef Name, SMLoc NameLoc,
1203 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, argument
1227 PPCOperand::CreateTokenWithStringCopy(Mnemonic, NameLoc, isPPC64()));
1229 Operands.push_back(PPCOperand::CreateToken(Mnemonic, NameLoc, isPPC64()));
1231 SMLoc DotLoc = SMLoc::getFromPointer(NameLoc.getPointer() + Dot);
/freebsd-9.3-release/contrib/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp569 SMLoc NameLoc,
1926 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, argument
1995 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc));
1998 Operands.push_back(X86Operand::CreateImm(ExtraImmOp, NameLoc, NameLoc));
2095 Operands.push_back(X86Operand::CreateImm(ExtraImmOp, NameLoc, NameLoc));

Completed in 399 milliseconds

123