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

123

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DDesignator.h47 unsigned NameLoc; member in struct:clang::Designator::FieldDesignatorInfo
85 return SourceLocation::getFromRawEncoding(FieldInfo.NameLoc);
126 SourceLocation NameLoc) {
131 D.FieldInfo.NameLoc = NameLoc.getRawEncoding();
125 getField(const IdentifierInfo *II, SourceLocation DotLoc, SourceLocation NameLoc) argument
H A DLookup.h159 SourceLocation NameLoc, Sema::LookupNameKind LookupKind,
161 : SemaPtr(&SemaRef), NameInfo(Name, NameLoc), LookupKind(LookupKind),
158 LookupResult(Sema &SemaRef, DeclarationName Name, SourceLocation NameLoc, Sema::LookupNameKind LookupKind, Sema::RedeclarationKind Redecl = Sema::NotForRedeclaration) argument
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclarationName.h696 SourceLocation NameLoc; member in struct:clang::DeclarationNameInfo
705 DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc) argument
706 : Name(Name), NameLoc(NameLoc), LocInfo(Name) {}
708 DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc, argument
710 : Name(Name), NameLoc(NameLoc), LocInfo(LocInfo) {}
719 SourceLocation getLoc() const { return NameLoc; }
722 void setLoc(SourceLocation L) { NameLoc = L; }
798 SourceLocation getBeginLoc() const { return NameLoc; }
[all...]
H A DTypeLoc.h508 SourceLocation NameLoc; member in struct:clang::TypeSpecLocInfo
524 return this->getLocalData()->NameLoc;
528 this->getLocalData()->NameLoc = Loc;
743 SourceLocation NameLoc; member in struct:clang::ObjCTypeParamTypeLocInfo
761 return this->getLocalData()->NameLoc;
765 this->getLocalData()->NameLoc = Loc;
1035 SourceLocation NameLoc;
1050 return getLocalData()->NameLoc;
1054 getLocalData()->NameLoc = Loc;
1565 SourceLocation NameLoc;
[all...]
H A DExprCXX.h4232 SubstNonTypeTemplateParmExprBits.NameLoc = Loc;
4236 return SubstNonTypeTemplateParmExprBits.NameLoc;
4284 SourceLocation NameLoc; member in class:clang::SubstNonTypeTemplateParmPackExpr
4293 SourceLocation NameLoc,
4300 SourceLocation getParameterPackLocation() const { return NameLoc; }
4306 SourceLocation getBeginLoc() const LLVM_READONLY { return NameLoc; }
4307 SourceLocation getEndLoc() const LLVM_READONLY { return NameLoc; }
4348 SourceLocation NameLoc; member in class:clang::final
4354 SourceLocation NameLoc, unsigned NumParams,
4360 SourceLocation NameLoc,
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp59 StringRef splitMnemonic(StringRef Name, SMLoc NameLoc,
67 SMLoc NameLoc, OperandVector &Operands) override;
1035 StringRef LanaiAsmParser::splitMnemonic(StringRef Name, SMLoc NameLoc, argument
1057 Operands->push_back(LanaiOperand::CreateToken(Mnemonic, NameLoc));
1059 MCConstantExpr::create(CondCode, getContext()), NameLoc, NameLoc));
1061 Operands->push_back(LanaiOperand::CreateToken(".r", NameLoc));
1086 Operands->push_back(LanaiOperand::CreateToken(Mnemonic, NameLoc));
1088 MCConstantExpr::create(CondCode, getContext()), NameLoc, NameLoc));
1159 ParseInstruction(ParseInstructionInfo & , StringRef Name, SMLoc NameLoc, OperandVector &Operands) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/MSP430/AsmParser/
H A DMSP430AsmParser.cpp51 SMLoc NameLoc, OperandVector &Operands) override;
60 SMLoc NameLoc, OperandVector &Operands);
312 StringRef Name, SMLoc NameLoc,
336 return Error(NameLoc, "unknown instruction");
339 Operands.push_back(MSP430Operand::CreateToken("jmp", NameLoc));
341 Operands.push_back(MSP430Operand::CreateToken("j", NameLoc));
374 StringRef Name, SMLoc NameLoc,
380 if (!parseJccInstruction(Info, Name, NameLoc, Operands))
384 Operands.push_back(MSP430Operand::CreateToken(Name, NameLoc));
311 parseJccInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, OperandVector &Operands) argument
373 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, OperandVector &Operands) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/AsmParser/
H A DBPFAsmParser.cpp44 SMLoc NameLoc, OperandVector &Operands) override;
453 SMLoc NameLoc, OperandVector &Operands) {
458 SMLoc E = SMLoc::getFromPointer(NameLoc.getPointer() - 1);
459 Operands.push_back(BPFOperand::createReg(RegNo, NameLoc, E));
461 Operands.push_back(BPFOperand::createToken(Name, NameLoc));
463 return Error(NameLoc, "invalid register/token name");
452 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, OperandVector &Operands) argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseInit.cpp170 SourceLocation NameLoc = ConsumeToken(); // Eat the identifier. local
175 Diag(NameLoc, diag::ext_gnu_old_style_field_designator)
176 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc),
180 D.AddDesignator(Designator::getField(FieldName, SourceLocation(), NameLoc));
H A DParseTemplate.cpp785 SourceLocation NameLoc = Tok.getLocation(); local
802 DiagnoseMisplacedEllipsis(EllipsisLoc, NameLoc, AlreadyHasEllipsis, true);
816 KeyLoc, ParamName, NameLoc,
894 SourceLocation NameLoc = Tok.getLocation(); local
911 DiagnoseMisplacedEllipsis(EllipsisLoc, NameLoc, AlreadyHasEllipsis, true);
936 ParamName, NameLoc, Depth,
H A DParser.cpp1607 SourceLocation NameLoc = Tok.getLocation(); local
1626 getCurScope(), SS, Name, NameLoc, Next, SS.isEmpty() ? CCC : nullptr);
1638 Actions.ClassifyName(getCurScope(), SS, Name, NameLoc, FakeNext,
1661 SourceLocation BeginLoc = NameLoc;
1695 Tok.setAnnotationEndLoc(NameLoc);
1704 Tok.setLocation(NameLoc);
1705 Tok.setAnnotationEndLoc(NameLoc);
1717 Tok.setLocation(NameLoc);
1718 Tok.setAnnotationEndLoc(NameLoc);
1738 Id.setIdentifier(Name, NameLoc);
[all...]
H A DParseDeclCXX.cpp1566 SourceLocation NameLoc,
1569 Diag(NameLoc, diag::err_explicit_spec_non_template)
1597 SourceLocation NameLoc; local
1601 NameLoc = ConsumeToken();
1616 Name, NameLoc, SourceRange(LAngleLoc, RAngleLoc), false);
1620 NameLoc = ConsumeAnnotationToken();
1625 TemplateId->Kind, NameLoc, Name); local
1628 Name, NameLoc,
1639 SourceRange Range(NameLoc);
1896 TagType, StartLoc, SS, Name, NameLoc, attr
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp419 void addBlockTypeOperand(OperandVector &Operands, SMLoc NameLoc, argument
422 WebAssemblyOperand::Integer, NameLoc, NameLoc,
427 SMLoc NameLoc, OperandVector &Operands) override {
429 // use NameLoc instead.
430 Name = StringRef(NameLoc.getPointer(), Name.size());
454 WebAssemblyOperand::Token, NameLoc, SMLoc::getFromPointer(Name.end()),
539 addBlockTypeOperand(Operands, NameLoc, BT);
605 addBlockTypeOperand(Operands, NameLoc, WebAssembly::BlockType::Void);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1030 SMLoc NameLoc, OperandVector &Operands) override;
2405 SMLoc NameLoc, OperandVector &Operands) {
2430 return Error(NameLoc, "unknown prefix");
2432 NameLoc = Parser.getTok().getLoc();
2460 NameLoc.getFromPointer(NameLoc.getPointer() + Name.size());
2666 return Error(NameLoc, "redundant data16 prefix");
2670 return Error(NameLoc, "redundant data32 prefix");
2672 return Error(NameLoc, "'data32' is not supported in 64-bit mode");
2677 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc));
2404 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, OperandVector &Operands) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclarationName.cpp497 return NameLoc;
515 return NameLoc;
522 return NameLoc;
H A DExprCXX.cpp1619 SourceLocation NameLoc,
1624 NumArguments(ArgPack.pack_size()), NameLoc(NameLoc) {}
1631 SourceLocation NameLoc,
1636 ParamPack(ParamPack), NameLoc(NameLoc), NumParameters(NumParams) {
1644 VarDecl *ParamPack, SourceLocation NameLoc,
1647 FunctionParmPackExpr(T, ParamPack, NameLoc, Params.size(), Params.data());
1616 SubstNonTypeTemplateParmPackExpr(QualType T, ExprValueKind ValueKind, NonTypeTemplateParmDecl *Param, SourceLocation NameLoc, const TemplateArgument &ArgPack) argument
1630 FunctionParmPackExpr(QualType T, VarDecl *ParamPack, SourceLocation NameLoc, unsigned NumParams, VarDecl *const *Params) argument
1643 Create(const ASTContext &Context, QualType T, VarDecl *ParamPack, SourceLocation NameLoc, ArrayRef<VarDecl *> Params) argument
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DPPCallbacks.h245 virtual void PragmaOpenCLExtension(SourceLocation NameLoc, argument
498 void PragmaOpenCLExtension(SourceLocation NameLoc, const IdentifierInfo *Name,
500 First->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State);
501 Second->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp180 SourceLocation NameLoc,
218 switch (lookupUnqualifiedTypeNameInBase(S, II, NameLoc, BaseRD)) {
236 SourceLocation NameLoc) {
248 FoundTypeDecl = lookupUnqualifiedTypeNameInBase(S, II, NameLoc, RD);
256 S.Diag(NameLoc, diag::ext_found_via_dependent_bases_lookup) << &II;
264 SS.MakeTrivial(Context, NNS, SourceRange(NameLoc));
268 DepTL.setNameLoc(NameLoc);
282 ParsedType Sema::getTypeName(const IdentifierInfo &II, SourceLocation NameLoc, argument
321 return ActOnTypenameType(S, SourceLocation(), *SS, II, NameLoc).get();
325 II, NameLoc);
179 lookupUnqualifiedTypeNameInBase(Sema &S, const IdentifierInfo &II, SourceLocation NameLoc, const CXXRecordDecl *RD) argument
234 recoverFromTypeInKnownDependentBase(Sema &S, const IdentifierInfo &II, SourceLocation NameLoc) argument
556 ActOnMSVCUnknownTypeName(const IdentifierInfo &II, SourceLocation NameLoc, bool IsTemplateTypeArg) argument
785 isTagTypeWithMissingTag(Sema &SemaRef, LookupResult &Result, Scope *S, CXXScopeSpec &SS, IdentifierInfo *&Name, SourceLocation NameLoc) argument
835 buildNestedType(Sema &S, CXXScopeSpec &SS, QualType T, SourceLocation NameLoc) argument
849 ClassifyName(Scope *S, CXXScopeSpec &SS, IdentifierInfo *&Name, SourceLocation NameLoc, const Token &NextToken, CorrectionCandidateCallback *CCC) argument
1202 ActOnNameClassifiedAsUndeclaredNonType(IdentifierInfo *Name, SourceLocation NameLoc) argument
1211 ActOnNameClassifiedAsDependentNonType(const CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, bool IsAddressOfOperand) argument
1221 ActOnNameClassifiedAsNonType(Scope *S, const CXXScopeSpec &SS, NamedDecl *Found, SourceLocation NameLoc, const Token &NextToken) argument
4676 CheckAnonMemberRedeclaration(Sema &SemaRef, Scope *S, DeclContext *Owner, DeclarationName Name, SourceLocation NameLoc, bool IsUnion) argument
13294 CheckParameter(DeclContext *DC, SourceLocation StartLoc, SourceLocation NameLoc, IdentifierInfo *Name, QualType T, TypeSourceInfo *TSInfo, StorageClass SC) argument
14784 createFriendTagNNSFixIt(Sema &SemaRef, NamedDecl *ND, Scope *S, SourceLocation NameLoc) argument
14848 ActOnTag(Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, const ParsedAttributesView &Attrs, AccessSpecifier AS, SourceLocation ModulePrivateLoc, MultiTemplateParamsArg TemplateParameterLists, bool &OwnedDecl, bool &IsDependent, SourceLocation ScopedEnumKWLoc, bool ScopedEnumUsesClassTag, TypeResult UnderlyingType, bool IsTypeSpecifier, bool IsTemplateParamOrArg, SkipBodyInfo *SkipBody) argument
17746 ActOnPragmaRedefineExtname(IdentifierInfo* Name, IdentifierInfo* AliasName, SourceLocation PragmaLoc, SourceLocation NameLoc, SourceLocation AliasNameLoc) argument
17773 ActOnPragmaWeakID(IdentifierInfo* Name, SourceLocation PragmaLoc, SourceLocation NameLoc) argument
17787 ActOnPragmaWeakAlias(IdentifierInfo* Name, IdentifierInfo* AliasName, SourceLocation PragmaLoc, SourceLocation NameLoc, SourceLocation AliasNameLoc) argument
[all...]
H A DSemaTemplateVariadic.cpp976 /// \param NameLoc The source location of the name of the parameter pack.
981 SourceLocation NameLoc,
985 LookupResult R(*this, &Name, NameLoc, LookupOrdinaryName);
1017 Diag(NameLoc, diag::err_sizeof_pack_no_pack_name)
1024 return SizeOfPackExpr::Create(Context, OpLoc, ParameterPack, NameLoc,
978 ActOnSizeofParameterPackExpr(Scope *S, SourceLocation OpLoc, IdentifierInfo &Name, SourceLocation NameLoc, SourceLocation RParenLoc) argument
H A DSemaTemplate.cpp312 SourceLocation NameLoc,
320 LookupResult R(*this, DeclarationName(&Name), NameLoc, LookupOrdinaryName);
1471 SourceLocation NameLoc,
1483 NameLoc.isInvalid()? TmpLoc : NameLoc,
1495 maybeDiagnoseTemplateParameterShadow(*this, S, NameLoc, Name);
1571 CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc,
1598 LookupResult Previous(*this, Name, NameLoc,
1608 Diag(NameLoc, TUK == TUK_Friend
1626 diagnoseQualifiedDeclaration(SS, SemanticContext, Name, NameLoc, fals
311 isDeductionGuideName(Scope *S, const IdentifierInfo &Name, SourceLocation NameLoc, ParsedTemplateTy *Template) argument
1466 ActOnTemplateTemplateParameter(Scope* S, SourceLocation TmpLoc, TemplateParameterList *Params, SourceLocation EllipsisLoc, IdentifierInfo *Name, SourceLocation NameLoc, unsigned Depth, unsigned Position, SourceLocation EqualLoc, ParsedTemplateArgument Default) argument
1569 CheckClassTemplate( Scope *S, unsigned TagSpec, TagUseKind TUK, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, const ParsedAttributesView &Attr, TemplateParameterList *TemplateParams, AccessSpecifier AS, SourceLocation ModulePrivateLoc, SourceLocation FriendLoc, unsigned NumOuterTemplateParamLists, TemplateParameterList **OuterTemplateParamLists, SkipBodyInfo *SkipBody) argument
3653 ActOnUndeclaredTypeTemplateName(Scope *S, TemplateTy &ParsedName, TemplateNameKind &TNK, SourceLocation NameLoc, IdentifierInfo *&II) argument
3671 resolveAssumedTemplateNameAsType(Scope *S, TemplateName &Name, SourceLocation NameLoc, bool Diagnose) argument
8376 ActOnConceptDefinition(Scope *S, MultiTemplateParamsArg TemplateParameterLists, IdentifierInfo *Name, SourceLocation NameLoc, Expr *ConstraintExpr) argument
9576 ActOnExplicitInstantiation(Scope *S, SourceLocation ExternLoc, SourceLocation TemplateLoc, unsigned TagSpec, SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation NameLoc, const ParsedAttributesView &Attr) argument
10093 ActOnDependentTag(Scope *S, unsigned TagSpec, TagUseKind TUK, const CXXScopeSpec &SS, IdentifierInfo *Name, SourceLocation TagLoc, SourceLocation NameLoc) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp457 LocTy NameLoc = Lex.getLoc(); local
465 if (ParseStructDefinition(NameLoc, Name,
471 return Error(NameLoc, "non-struct types may not be recursive");
553 LocTy NameLoc = Lex.getLoc(); local
577 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility,
580 return parseIndirectSymbol(Name, NameLoc, Linkage, Visibility,
591 LocTy NameLoc = Lex.getLoc(); local
607 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility,
610 return parseIndirectSymbol(Name, NameLoc, Linkage, Visibility,
617 LocTy NameLoc local
872 parseIndirectSymbol(const std::string &Name, LocTy NameLoc, unsigned L, unsigned Visibility, unsigned DLLStorageClass, bool DSOLocal, GlobalVariable::ThreadLocalMode TLM, GlobalVariable::UnnamedAddr UnnamedAddr) argument
1026 ParseGlobal(const std::string &Name, LocTy NameLoc, unsigned Linkage, bool HasLinkage, unsigned Visibility, unsigned DLLStorageClass, bool DSOLocal, GlobalVariable::ThreadLocalMode TLM, GlobalVariable::UnnamedAddr UnnamedAddr) argument
[all...]
H A DLLParser.h323 bool ParseGlobal(const std::string &Name, LocTy NameLoc, unsigned Linkage,
328 bool parseIndirectSymbol(const std::string &Name, LocTy NameLoc,
439 bool SetInstName(int NameID, const std::string &NameStr, LocTy NameLoc,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.h243 Init *ParseIDValue(Record *CurRec, StringInit *Name, SMLoc NameLoc,
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCTargetAsmParser.h388 /// \param NameLoc - The source location of the name.
393 SMLoc NameLoc, OperandVector &Operands) = 0;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp58 SMLoc NameLoc, OperandVector &Operands) override;
598 StringRef Mnemonic, SMLoc NameLoc,
600 Operands.push_back(AVROperand::CreateToken(Mnemonic, NameLoc));
597 ParseInstruction(ParseInstructionInfo &Info, StringRef Mnemonic, SMLoc NameLoc, OperandVector &Operands) argument

Completed in 287 milliseconds

123