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

12

/external/clang/lib/Parse/
H A DParseInit.cpp144 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 DParseTemplate.cpp515 SourceLocation NameLoc; local
519 NameLoc = ConsumeToken();
532 DiagnoseMisplacedEllipsis(EllipsisLoc, NameLoc, AlreadyHasEllipsis, true);
544 KeyLoc, ParamName, NameLoc, Depth, Position,
612 SourceLocation NameLoc; local
616 NameLoc = ConsumeToken();
629 DiagnoseMisplacedEllipsis(EllipsisLoc, NameLoc, AlreadyHasEllipsis, true);
655 ParamName, NameLoc, Depth,
H A DParseExpr.cpp1789 SourceLocation NameLoc; local
1796 NameLoc = ConsumeToken();
1800 RParenLoc = PP.getLocForEndOfToken(NameLoc);
1807 NameLoc = ConsumeToken();
1809 RParenLoc = PP.getLocForEndOfToken(NameLoc);
1826 *Name, NameLoc,
H A DParsePragma.cpp461 SourceLocation NameLoc = Tok.getLocation(); local
475 PP.Diag(NameLoc, diag::warn_pragma_unknown_extension) << ename;
1413 SourceLocation NameLoc = Tok.getLocation(); local
1453 Toks[0].setLocation(NameLoc);
1460 PP.getPPCallbacks()->PragmaOpenCLExtension(NameLoc, ename,
H A DParser.cpp1411 SourceLocation NameLoc = Tok.getLocation(); local
1431 getCurScope(), SS, Name, NameLoc, Next, IsAddressOfOperand,
1453 SourceLocation BeginLoc = NameLoc;
1485 Tok.setAnnotationEndLoc(NameLoc);
1504 Id.setIdentifier(Name, NameLoc);
H A DParseExprCXX.cpp1509 SourceLocation NameLoc = ConsumeToken(); local
1510 SecondTypeName.setIdentifier(Name, NameLoc);
1516 Name, NameLoc,
1929 /// \param NameLoc the location of the class-name in a constructor or
1949 SourceLocation NameLoc,
2008 TemplateName.setIdentifier(Name, NameLoc);
2019 TemplateName.setIdentifier(Name, NameLoc);
2034 Diag(NameLoc, diag::err_destructor_template_id)
2099 Template, NameLoc,
2106 Id.setConstructorName(Type.get(), NameLoc, RAngleLo
1946 ParseUnqualifiedIdTemplateId(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, IdentifierInfo *Name, SourceLocation NameLoc, bool EnteringContext, ParsedType ObjectType, UnqualifiedId &Id, bool AssumeTemplateId) argument
[all...]
H A DParseDeclCXX.cpp1372 SourceLocation NameLoc; local
1376 NameLoc = ConsumeToken();
1384 if (ParseTemplateIdAfterTemplateName(TemplateTy(), NameLoc, SS,
1392 Diag(NameLoc, diag::err_explicit_spec_non_template)
1420 NameLoc = ConsumeToken();
1427 SourceRange Range(NameLoc);
1694 NameLoc, attrs.getList());
1702 Name, NameLoc, attrs.getList(),
1734 SS, Name, NameLoc, attrs.getList(), AS,
1747 SS, Name, StartLoc, NameLoc);
[all...]
/external/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
/external/clang/unittests/Lex/
H A DPPCallbacksTest.cpp93 void PragmaOpenCLExtension(clang::SourceLocation NameLoc,
97 this->NameLoc = NameLoc;
103 SourceLocation NameLoc; member in class:__anon3072::PragmaOpenCLExtensionCallbacks
/external/llvm/lib/AsmParser/
H A DLLParser.cpp369 LocTy NameLoc = Lex.getLoc(); local
377 if (ParseStructDefinition(NameLoc, Name,
383 return Error(NameLoc, "non-struct types may not be recursive");
440 LocTy NameLoc = Lex.getLoc(); local
465 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility,
467 return ParseAlias(Name, NameLoc, Linkage, Visibility, DLLStorageClass, TLM,
477 LocTy NameLoc = Lex.getLoc(); local
494 return ParseGlobal(Name, NameLoc, Linkage, HasLinkage, Visibility,
497 return ParseAlias(Name, NameLoc, Linkage, Visibility, DLLStorageClass, TLM,
504 LocTy NameLoc local
665 ParseAlias(const std::string &Name, LocTy NameLoc, unsigned L, unsigned Visibility, unsigned DLLStorageClass, GlobalVariable::ThreadLocalMode TLM, bool UnnamedAddr) argument
780 ParseGlobal(const std::string &Name, LocTy NameLoc, unsigned Linkage, bool HasLinkage, unsigned Visibility, unsigned DLLStorageClass, GlobalVariable::ThreadLocalMode TLM, bool UnnamedAddr) argument
[all...]
/external/clang/include/clang/AST/
H A DDeclarationName.h435 SourceLocation NameLoc; member in struct:clang::DeclarationNameInfo
443 DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc) argument
444 : Name(Name), NameLoc(NameLoc), LocInfo(Name) {}
446 DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc, argument
448 : Name(Name), NameLoc(NameLoc), LocInfo(LocInfo) {}
456 SourceLocation getLoc() const { return NameLoc; }
458 void setLoc(SourceLocation L) { NameLoc = L; }
528 SourceLocation getBeginLoc() const { return NameLoc; }
[all...]
H A DTypeLoc.h480 SourceLocation NameLoc; member in struct:clang::TypeSpecLocInfo
494 return this->getLocalData()->NameLoc;
497 this->getLocalData()->NameLoc = Loc;
976 SourceLocation NameLoc;
991 return getLocalData()->NameLoc;
995 getLocalData()->NameLoc = Loc;
1433 SourceLocation NameLoc;
1484 return getLocalData()->NameLoc;
1487 getLocalData()->NameLoc = Loc;
1777 SourceLocation NameLoc;
[all...]
/external/clang/include/clang/Lex/
H A DPPCallbacks.h222 virtual void PragmaOpenCLExtension(SourceLocation NameLoc, argument
416 void PragmaOpenCLExtension(SourceLocation NameLoc, const IdentifierInfo *Name,
418 First->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State);
419 Second->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State);
/external/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp824 /// \param NameLoc The source location of the name of the parameter pack.
829 SourceLocation NameLoc,
833 LookupResult R(*this, &Name, NameLoc, LookupOrdinaryName);
864 Diag(NameLoc, diag::err_sizeof_pack_no_pack_name)
871 return SizeOfPackExpr::Create(Context, OpLoc, ParameterPack, NameLoc,
826 ActOnSizeofParameterPackExpr(Scope *S, SourceLocation OpLoc, IdentifierInfo &Name, SourceLocation NameLoc, SourceLocation RParenLoc) argument
H A DSemaLambda.cpp1351 DeclarationNameLoc NameLoc; local
1352 NameLoc.NamedType.TInfo = S.Context.getTrivialTypeSourceInfo(BlockPtrTy, Loc);
1355 DeclarationNameInfo(Name, Loc, NameLoc),
H A DSemaTemplateInstantiate.cpp747 SourceLocation NameLoc,
764 SourceLocation NameLoc,
949 SourceLocation NameLoc,
952 StartLoc, NameLoc, Name);
1002 SourceLocation NameLoc,
1056 return inherited::TransformTemplateName(SS, Name, NameLoc, ObjectType,
946 RebuildExceptionDecl(VarDecl *ExceptionDecl, TypeSourceInfo *Declarator, SourceLocation StartLoc, SourceLocation NameLoc, IdentifierInfo *Name) argument
1000 TransformTemplateName(CXXScopeSpec &SS, TemplateName Name, SourceLocation NameLoc, QualType ObjectType, NamedDecl *FirstQualifierInScope) argument
/external/clang/lib/AST/
H A DDeclTemplate.cpp493 SourceLocation KeyLoc, SourceLocation NameLoc,
497 new (C, DC) TemplateTypeParmDecl(DC, KeyLoc, NameLoc, Id, Typename);
492 Create(const ASTContext &C, DeclContext *DC, SourceLocation KeyLoc, SourceLocation NameLoc, unsigned D, unsigned P, IdentifierInfo *Id, bool Typename, bool ParameterPack) argument
H A DExprCXX.cpp1457 SourceLocation NameLoc,
1462 NumArguments(ArgPack.pack_size()), NameLoc(NameLoc) { }
1469 SourceLocation NameLoc,
1474 ParamPack(ParamPack), NameLoc(NameLoc), NumParameters(NumParams) {
1482 ParmVarDecl *ParamPack, SourceLocation NameLoc,
1486 FunctionParmPackExpr(T, ParamPack, NameLoc, Params.size(), Params.data());
1455 SubstNonTypeTemplateParmPackExpr(QualType T, NonTypeTemplateParmDecl *Param, SourceLocation NameLoc, const TemplateArgument &ArgPack) argument
1468 FunctionParmPackExpr(QualType T, ParmVarDecl *ParamPack, SourceLocation NameLoc, unsigned NumParams, ParmVarDecl *const *Params) argument
1481 Create(const ASTContext &Context, QualType T, ParmVarDecl *ParamPack, SourceLocation NameLoc, ArrayRef<ParmVarDecl *> Params) argument
/external/clang/lib/Lex/
H A DPragma.cpp923 SourceLocation NameLoc = Tok.getLocation(); local
927 Toks->setLocation(NameLoc);
/external/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp55 SMLoc NameLoc, OperandVector &Operands) override;
581 StringRef Name, SMLoc NameLoc,
585 Operands.push_back(SparcOperand::CreateToken(Name, NameLoc));
580 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, OperandVector &Operands) argument
/external/llvm/lib/TableGen/
H A DTGParser.cpp714 const std::string &Name, SMLoc NameLoc,
758 Error(NameLoc, "Variable not defined: '" + Name + "'");
1180 SMLoc NameLoc = Lex.getLoc(); local
1183 return ParseIDValue(CurRec, Name, NameLoc, Mode); // Value ::= IDValue
1196 Error(NameLoc, "Expected a class name, got '" + Name + "'");
1211 auto NewRecOwner = llvm::make_unique<Record>(GetNewAnonymousName(), NameLoc,
1215 SCRef.RefRange = SMRange(NameLoc, EndLoc);
2156 SMLoc NameLoc = Lex.getLoc(); local
2175 Result.emplace_back(std::move(Name), std::move(Bits), Val, NameLoc);
713 ParseIDValue(Record *CurRec, const std::string &Name, SMLoc NameLoc, IDParseMode Mode) argument
/external/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp424 SMLoc NameLoc, OperandVector &Operands) override;
1206 SMLoc NameLoc, OperandVector &Operands) {
1217 Operands.push_back(AMDGPUOperand::CreateToken(Name, NameLoc));
1204 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, OperandVector &Operands) argument
/external/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp306 SMLoc NameLoc, OperandVector &Operands) override;
1630 SMLoc NameLoc, OperandVector &Operands) {
1653 PPCOperand::CreateTokenWithStringCopy(Mnemonic, NameLoc, isPPC64()));
1655 Operands.push_back(PPCOperand::CreateToken(Mnemonic, NameLoc, isPPC64()));
1657 SMLoc DotLoc = SMLoc::getFromPointer(NameLoc.getPointer() + Dot);
1629 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, OperandVector &Operands) argument
/external/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp402 SMLoc NameLoc, OperandVector &Operands) override;
704 StringRef Name, SMLoc NameLoc,
706 Operands.push_back(SystemZOperand::createToken(Name, NameLoc));
703 ParseInstruction(ParseInstructionInfo &Info, StringRef Name, SMLoc NameLoc, OperandVector &Operands) argument

Completed in 1004 milliseconds

12