Home
last modified time | relevance | path

Searched refs:NameLoc (Results 1 – 25 of 56) sorted by relevance

123

/external/clang/include/clang/AST/
DDeclarationName.h435 SourceLocation NameLoc; member
443 DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc) in DeclarationNameInfo()
444 : Name(Name), NameLoc(NameLoc), LocInfo(Name) {} in DeclarationNameInfo()
446 DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc, in DeclarationNameInfo()
448 : Name(Name), NameLoc(NameLoc), LocInfo(LocInfo) {} in DeclarationNameInfo()
456 SourceLocation getLoc() const { return NameLoc; } in getLoc()
458 void setLoc(SourceLocation L) { NameLoc = L; } in setLoc()
528 SourceLocation getBeginLoc() const { return NameLoc; } in getBeginLoc()
DTypeLoc.h480 SourceLocation NameLoc; member
494 return this->getLocalData()->NameLoc; in getNameLoc()
497 this->getLocalData()->NameLoc = Loc; in setNameLoc()
976 SourceLocation NameLoc; member
991 return getLocalData()->NameLoc; in getNameLoc()
995 getLocalData()->NameLoc = Loc; in setNameLoc()
1433 SourceLocation NameLoc; member
1484 return getLocalData()->NameLoc; in getTemplateNameLoc()
1487 getLocalData()->NameLoc = Loc; in setTemplateNameLoc()
1777 SourceLocation NameLoc; member
[all …]
DExprCXX.h3730 SourceLocation NameLoc; variable
3747 Param(param), Replacement(replacement), NameLoc(loc) {} in SubstNonTypeTemplateParmExpr()
3749 SourceLocation getNameLoc() const { return NameLoc; } in getNameLoc()
3750 SourceLocation getLocStart() const LLVM_READONLY { return NameLoc; } in getLocStart()
3751 SourceLocation getLocEnd() const LLVM_READONLY { return NameLoc; } in getLocEnd()
3789 SourceLocation NameLoc; variable
3799 SourceLocation NameLoc,
3806 SourceLocation getParameterPackLocation() const { return NameLoc; } in getParameterPackLocation()
3812 SourceLocation getLocStart() const LLVM_READONLY { return NameLoc; } in getLocStart()
3813 SourceLocation getLocEnd() const LLVM_READONLY { return NameLoc; } in getLocEnd()
[all …]
/external/clang/include/clang/Sema/
DDesignator.h48 unsigned NameLoc; member
86 return SourceLocation::getFromRawEncoding(FieldInfo.NameLoc); in getFieldLoc()
127 SourceLocation NameLoc) { in getField() argument
132 D.FieldInfo.NameLoc = NameLoc.getRawEncoding(); in getField()
DLookup.h152 SourceLocation NameLoc, Sema::LookupNameKind LookupKind,
158 NameInfo(Name, NameLoc), in ResultKind()
/external/clang/unittests/Lex/
DPPCallbacksTest.cpp93 void PragmaOpenCLExtension(clang::SourceLocation NameLoc, in PragmaOpenCLExtension() argument
97 this->NameLoc = NameLoc; in PragmaOpenCLExtension()
103 SourceLocation NameLoc; member in __anon943a28fc0111::PragmaOpenCLExtensionCallbacks
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp820 SMLoc NameLoc, OperandVector &Operands) override;
2068 SMLoc NameLoc, OperandVector &Operands) { in ParseInstruction() argument
2123 NameLoc)); in ParseInstruction()
2127 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction()
2150 Operands.push_back(X86Operand::CreateToken("vpcmp", NameLoc)); in ParseInstruction()
2154 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction()
2177 Operands.push_back(X86Operand::CreateToken("vpcom", NameLoc)); in ParseInstruction()
2181 Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc)); in ParseInstruction()
2187 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc)); in ParseInstruction()
2278 X86Operand::CreateReg(X86::DX, NameLoc, NameLoc), in ParseInstruction()
[all …]
/external/clang/lib/Parse/
DParseInit.cpp144 SourceLocation NameLoc = ConsumeToken(); // Eat the identifier. in ParseInitializerWithPotentialDesignator() local
149 Diag(NameLoc, diag::ext_gnu_old_style_field_designator) in ParseInitializerWithPotentialDesignator()
150 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc), in ParseInitializerWithPotentialDesignator()
154 D.AddDesignator(Designator::getField(FieldName, SourceLocation(), NameLoc)); in ParseInitializerWithPotentialDesignator()
DParseTemplate.cpp515 SourceLocation NameLoc; in ParseTypeParameter() local
519 NameLoc = ConsumeToken(); in ParseTypeParameter()
532 DiagnoseMisplacedEllipsis(EllipsisLoc, NameLoc, AlreadyHasEllipsis, true); in ParseTypeParameter()
544 KeyLoc, ParamName, NameLoc, Depth, Position, in ParseTypeParameter()
612 SourceLocation NameLoc; in ParseTemplateTemplateParameter() local
616 NameLoc = ConsumeToken(); in ParseTemplateTemplateParameter()
629 DiagnoseMisplacedEllipsis(EllipsisLoc, NameLoc, AlreadyHasEllipsis, true); in ParseTemplateTemplateParameter()
655 ParamName, NameLoc, Depth, in ParseTemplateTemplateParameter()
DParseDeclCXX.cpp1372 SourceLocation NameLoc; in ParseClassSpecifier() local
1376 NameLoc = ConsumeToken(); in ParseClassSpecifier()
1384 if (ParseTemplateIdAfterTemplateName(TemplateTy(), NameLoc, SS, in ParseClassSpecifier()
1392 Diag(NameLoc, diag::err_explicit_spec_non_template) in ParseClassSpecifier()
1420 NameLoc = ConsumeToken(); in ParseClassSpecifier()
1427 SourceRange Range(NameLoc); in ParseClassSpecifier()
1694 NameLoc, attrs.getList()); in ParseClassSpecifier()
1702 Name, NameLoc, attrs.getList(), in ParseClassSpecifier()
1734 SS, Name, NameLoc, attrs.getList(), AS, in ParseClassSpecifier()
1747 SS, Name, StartLoc, NameLoc); in ParseClassSpecifier()
[all …]
DParseExprCXX.cpp1509 SourceLocation NameLoc = ConsumeToken(); in ParseCXXPseudoDestructor() local
1510 SecondTypeName.setIdentifier(Name, NameLoc); in ParseCXXPseudoDestructor()
1516 Name, NameLoc, in ParseCXXPseudoDestructor()
1949 SourceLocation NameLoc, in ParseUnqualifiedIdTemplateId() argument
2008 TemplateName.setIdentifier(Name, NameLoc); in ParseUnqualifiedIdTemplateId()
2019 TemplateName.setIdentifier(Name, NameLoc); in ParseUnqualifiedIdTemplateId()
2034 Diag(NameLoc, diag::err_destructor_template_id) in ParseUnqualifiedIdTemplateId()
2099 Template, NameLoc, in ParseUnqualifiedIdTemplateId()
2106 Id.setConstructorName(Type.get(), NameLoc, RAngleLoc); in ParseUnqualifiedIdTemplateId()
DParser.cpp1411 SourceLocation NameLoc = Tok.getLocation(); in TryAnnotateName() local
1431 getCurScope(), SS, Name, NameLoc, Next, IsAddressOfOperand, in TryAnnotateName()
1453 SourceLocation BeginLoc = NameLoc; in TryAnnotateName()
1485 Tok.setAnnotationEndLoc(NameLoc); in TryAnnotateName()
1504 Id.setIdentifier(Name, NameLoc); in TryAnnotateName()
DParseExpr.cpp1789 SourceLocation NameLoc; in ParseUnaryExprOrTypeTraitExpression() local
1796 NameLoc = ConsumeToken(); in ParseUnaryExprOrTypeTraitExpression()
1800 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
1807 NameLoc = ConsumeToken(); in ParseUnaryExprOrTypeTraitExpression()
1809 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
1826 *Name, NameLoc, in ParseUnaryExprOrTypeTraitExpression()
/external/clang/include/clang/Lex/
DPPCallbacks.h222 virtual void PragmaOpenCLExtension(SourceLocation NameLoc, in PragmaOpenCLExtension() argument
416 void PragmaOpenCLExtension(SourceLocation NameLoc, const IdentifierInfo *Name, in PragmaOpenCLExtension() argument
418 First->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State); in PragmaOpenCLExtension()
419 Second->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State); in PragmaOpenCLExtension()
/external/clang/lib/Sema/
DSemaDecl.cpp145 SourceLocation NameLoc, in lookupUnqualifiedTypeNameInBase() argument
177 switch (lookupUnqualifiedTypeNameInBase(S, II, NameLoc, BaseRD)) { in lookupUnqualifiedTypeNameInBase()
195 SourceLocation NameLoc) { in recoverFromTypeInKnownDependentBase() argument
207 FoundTypeDecl = lookupUnqualifiedTypeNameInBase(S, II, NameLoc, RD); in recoverFromTypeInKnownDependentBase()
215 S.Diag(NameLoc, diag::ext_found_via_dependent_bases_lookup) << &II; in recoverFromTypeInKnownDependentBase()
223 SS.MakeTrivial(Context, NNS, SourceRange(NameLoc)); in recoverFromTypeInKnownDependentBase()
227 DepTL.setNameLoc(NameLoc); in recoverFromTypeInKnownDependentBase()
241 ParsedType Sema::getTypeName(const IdentifierInfo &II, SourceLocation NameLoc, in getTypeName() argument
274 return ActOnTypenameType(S, SourceLocation(), *SS, II, NameLoc).get(); in getTypeName()
278 II, NameLoc); in getTypeName()
[all …]
DSemaTemplateVariadic.cpp829 SourceLocation NameLoc, in ActOnSizeofParameterPackExpr() argument
833 LookupResult R(*this, &Name, NameLoc, LookupOrdinaryName); in ActOnSizeofParameterPackExpr()
864 Diag(NameLoc, diag::err_sizeof_pack_no_pack_name) in ActOnSizeofParameterPackExpr()
871 return SizeOfPackExpr::Create(Context, OpLoc, ParameterPack, NameLoc, in ActOnSizeofParameterPackExpr()
DSemaTemplate.cpp742 SourceLocation NameLoc, in ActOnTemplateTemplateParameter() argument
754 NameLoc.isInvalid()? TmpLoc : NameLoc, in ActOnTemplateTemplateParameter()
762 maybeDiagnoseTemplateParameterShadow(*this, S, NameLoc, Name); in ActOnTemplateTemplateParameter()
835 IdentifierInfo *Name, SourceLocation NameLoc, in CheckClassTemplate() argument
865 LookupResult Previous(*this, Name, NameLoc, in CheckClassTemplate()
875 Diag(NameLoc, TUK == TUK_Friend in CheckClassTemplate()
893 diagnoseQualifiedDeclaration(SS, SemanticContext, Name, NameLoc); in CheckClassTemplate()
905 DeclarationNameInfo(Name, NameLoc))) in CheckClassTemplate()
1037 Diag(NameLoc, diag::err_redefinition) << Name; in CheckClassTemplate()
1046 DiagnoseTemplateParameterShadow(NameLoc, PrevDecl); in CheckClassTemplate()
[all …]
/external/llvm/lib/AsmParser/
DLLParser.cpp369 LocTy NameLoc = Lex.getLoc(); in ParseNamedType() local
377 if (ParseStructDefinition(NameLoc, Name, in ParseNamedType()
383 return Error(NameLoc, "non-struct types may not be recursive"); in ParseNamedType()
440 LocTy NameLoc = Lex.getLoc(); in ParseUnnamedGlobal() local
465 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility, in ParseUnnamedGlobal()
467 return ParseAlias(Name, NameLoc, Linkage, Visibility, DLLStorageClass, TLM, in ParseUnnamedGlobal()
477 LocTy NameLoc = Lex.getLoc(); in ParseNamedGlobal() local
494 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility, in ParseNamedGlobal()
497 return ParseAlias(Name, NameLoc, Linkage, Visibility, DLLStorageClass, TLM, in ParseNamedGlobal()
504 LocTy NameLoc = Lex.getLoc(); in parseComdat() local
[all …]
/external/clang/lib/AST/
DDeclarationName.cpp562 return NameLoc; in getEndLoc()
580 return NameLoc; in getEndLoc()
587 return NameLoc; in getEndLoc()
DExprCXX.cpp1457 SourceLocation NameLoc, in SubstNonTypeTemplateParmPackExpr() argument
1462 NumArguments(ArgPack.pack_size()), NameLoc(NameLoc) { } in SubstNonTypeTemplateParmPackExpr()
1469 SourceLocation NameLoc, in FunctionParmPackExpr() argument
1474 ParamPack(ParamPack), NameLoc(NameLoc), NumParameters(NumParams) { in FunctionParmPackExpr()
1482 ParmVarDecl *ParamPack, SourceLocation NameLoc, in Create() argument
1486 FunctionParmPackExpr(T, ParamPack, NameLoc, Params.size(), Params.data()); in Create()
/external/llvm/lib/TableGen/
DTGParser.cpp714 const std::string &Name, SMLoc NameLoc, in ParseIDValue() argument
758 Error(NameLoc, "Variable not defined: '" + Name + "'"); in ParseIDValue()
1180 SMLoc NameLoc = Lex.getLoc(); in ParseSimpleValue() local
1183 return ParseIDValue(CurRec, Name, NameLoc, Mode); // Value ::= IDValue in ParseSimpleValue()
1196 Error(NameLoc, "Expected a class name, got '" + Name + "'"); in ParseSimpleValue()
1211 auto NewRecOwner = llvm::make_unique<Record>(GetNewAnonymousName(), NameLoc, in ParseSimpleValue()
1215 SCRef.RefRange = SMRange(NameLoc, EndLoc); in ParseSimpleValue()
2156 SMLoc NameLoc = Lex.getLoc(); in ParseLetList() local
2175 Result.emplace_back(std::move(Name), std::move(Bits), Val, NameLoc); in ParseLetList()
DTGParser.h168 Init *ParseIDValue(Record *CurRec, const std::string &Name, SMLoc NameLoc,
/external/llvm/include/llvm/MC/
DMCTargetAsmParser.h156 SMLoc NameLoc, OperandVector &Operands) = 0;
/external/llvm/test/CodeGen/X86/
D2010-09-30-CMOV-JumpTable-PHI.ll19 define hidden zeroext i8 @f(i8* %this, i8* %Name.0, i32 %Name.1, i8* noalias %NameLoc, i8* %Operand…
/external/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp402 SMLoc NameLoc, OperandVector &Operands) override;
704 StringRef Name, SMLoc NameLoc, in ParseInstruction() argument
706 Operands.push_back(SystemZOperand::createToken(Name, NameLoc)); in ParseInstruction()

123