Searched defs:Loc (Results 226 - 250 of 312) sorted by relevance

1234567891011>>

/external/clang/lib/Lex/
H A DPPDirectives.cpp79 Preprocessor::AllocateDefMacroDirective(MacroInfo *MI, SourceLocation Loc, argument
82 new (MD) DefMacroDirective(MI, Loc, isImported);
94 Preprocessor::AllocateVisibilityMacroDirective(SourceLocation Loc, argument
97 new (MD) VisibilityMacroDirective(Loc, isPublic);
1260 bool Preprocessor::GetIncludeFilenameSpelling(SourceLocation Loc, argument
1269 Diag(Loc, diag::err_pp_expects_filename);
1276 Diag(Loc, diag::err_pp_expects_filename);
1282 Diag(Loc, diag::err_pp_expects_filename);
1289 Diag(Loc, diag::err_pp_empty_filename);
1763 SourceLocation Loc local
[all...]
/external/clang/lib/Parse/
H A DParseDeclCXX.cpp1947 SourceLocation Loc; local
1948 ExprResult AsmLabel(ParseSimpleAsm(&Loc));
1953 DeclaratorInfo.SetRangeEnd(Loc);
2828 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); local
2829 Diag(Loc, diag::err_ctor_init_missing_comma)
2830 << FixItHint::CreateInsertion(Loc, ", ");
3166 IdentifierInfo *Parser::TryParseCXX11AttributeIdentifier(SourceLocation &Loc) { argument
3171 Loc = ConsumeToken();
3192 Loc = ConsumeToken();
3391 SourceLocation StartLoc = Tok.getLocation(), Loc; local
[all...]
H A DParseExprCXX.cpp795 SourceLocation Loc; local
802 Loc = ConsumeToken();
818 Loc = ConsumeToken();
950 Loc, Kind == LCK_ByRef, Id, InitExpr);
954 Intro.addCapture(Kind, Loc, Id, EllipsisLoc, Init, InitCaptureParsedType);
1586 /// \param Loc The location of the start of the statement that requires this
1595 SourceLocation Loc,
1618 = Actions.ActOnBooleanCondition(getCurScope(), Loc, ExprOut.get());
1633 SourceLocation Loc; local
1634 ExprResult AsmLabel(ParseSimpleAsm(&Loc));
1593 ParseCXXCondition(ExprResult &ExprOut, Decl *&DeclOut, SourceLocation Loc, bool ConvertToBoolean) argument
1722 SourceLocation Loc = Tok.getLocation(); local
2791 SourceLocation Loc = ConsumeToken(); local
2848 SourceLocation Loc = ConsumeToken(); local
2891 SourceLocation Loc = ConsumeToken(); local
[all...]
H A DParseObjc.cpp2467 SourceLocation Loc; local
2468 IdentifierInfo *selIdent = ParseObjCSelectorPiece(Loc);
2478 KeyLocs.push_back(Loc);
2546 selIdent = ParseObjCSelectorPiece(Loc);
2596 KeyLocs.push_back(Loc);
2891 SourceLocation Loc; local
2892 SelIdent = ParseObjCSelectorPiece(Loc);
/external/clang/lib/Sema/
H A DSemaAccess.cpp1259 static void DiagnoseBadAccess(Sema &S, SourceLocation Loc, argument
1266 S.Diag(Loc, Entity.getDiag())
1394 SourceLocation Loc,
1400 Loc,
1412 SourceLocation Loc,
1418 DelayDependentAccess(S, EC, Loc, Entity);
1423 IsMicrosoftUsingDeclarationAccessBug(S, Loc, Entity))
1426 DiagnoseBadAccess(S, Loc, EC, Entity);
1437 static Sema::AccessResult CheckAccess(Sema &S, SourceLocation Loc, argument
1455 S.DelayedDiagnostics.add(DelayedDiagnostic::makeAccess(Loc, Entit
1392 DelayDependentAccess(Sema &S, const EffectiveContext &EC, SourceLocation Loc, const AccessTarget &Entity) argument
1410 CheckEffectiveAccess(Sema &S, const EffectiveContext &EC, SourceLocation Loc, AccessTarget &Entity) argument
1493 SourceLocation Loc = DD.getAccessLoc(); local
1587 CheckDestructorAccess(SourceLocation Loc, CXXDestructorDecl *Dtor, const PartialDiagnostic &PDiag, QualType ObjectTy) argument
[all...]
H A DSemaCast.cpp1677 static void checkIntToPointerCast(bool CStyle, SourceLocation Loc, argument
1699 Self.Diag(Loc, Diag) << SrcType << DestType;
H A DSemaExprMember.cpp203 SourceLocation Loc = nameInfo.getLoc(); local
204 SourceRange Range(Loc);
217 SemaRef.Diag(Loc, diag::err_invalid_member_use_in_static_method)
223 SemaRef.Diag(Loc, diag::err_nested_non_static_member_use)
226 SemaRef.Diag(Loc, diag::err_invalid_non_static_member_use)
229 SemaRef.Diag(Loc, diag::err_member_call_without_object)
926 SourceLocation Loc = R.getNameLoc(); local
928 Loc = SS.getRange().getBegin();
936 if (!CheckCXXThisCapture(Loc, /*Explcit*/false, /*Diagnose*/false))
937 CheckCXXThisCapture(Loc);
1743 SourceLocation Loc = R.getNameLoc(); local
[all...]
H A DSemaLambda.cpp696 QualType Sema::performLambdaInitCaptureInitialization(SourceLocation Loc, argument
712 TLB.pushTypeSpec(DeductType).setNameLoc(Loc);
714 DeductType = BuildReferenceType(DeductType, true, Loc, Id);
716 TLB.push<ReferenceTypeLoc>(DeductType).setSigilLoc(Loc);
729 << DeclarationName(Id) << TSI->getType() << Loc;
734 << DeclarationName(Id) << TSI->getType() << Loc;
740 << DeclarationName(Id) << Loc;
749 Diag(Loc, diag::err_init_capture_deduction_failure_from_init_list)
755 Diag(Loc, diag::err_init_capture_deduction_failure)
767 InitializedEntity::InitializeLambdaCapture(Id, DeducedType, Loc);
800 createLambdaInitCaptureVarDecl(SourceLocation Loc, QualType InitCaptureType, IdentifierInfo *Id, Expr *Init) argument
1192 SourceLocation Loc = IntroducerRange.getBegin(); local
1354 SourceLocation Loc = IntroducerRange.getBegin(); local
[all...]
H A DSemaObjCProperty.cpp275 SourceLocation LParenLoc, SourceLocation &Loc) {
296 Loc = Tok.getLocation();
1379 SourceLocation Loc) {
1392 else if (CheckAssignmentConstraints(Loc, GetterType, PropertyIvarType)
1394 Diag(Loc, diag::error_property_accessor_type)
1409 Diag(Loc, diag::warn_accessor_property_type_mismatch)
1947 SourceLocation Loc = redeclaredProperty ? local
1951 GetterMethod = ObjCMethodDecl::Create(Context, Loc, Loc,
1971 Loc));
274 LocPropertyAttribute( ASTContext &Context, const char *attrName, SourceLocation LParenLoc, SourceLocation &Loc) argument
1377 DiagnosePropertyAccessorMismatch(ObjCPropertyDecl *property, ObjCMethodDecl *GetterMethod, SourceLocation Loc) argument
1997 SourceLocation Loc = redeclaredProperty ? local
2076 CheckObjCPropertyAttributes(Decl *PDecl, SourceLocation Loc, unsigned &Attributes, bool propertyInPrimaryClass) argument
[all...]
H A DSemaTemplateInstantiate.cpp643 SourceLocation Loc; member in class:__anon18104::TemplateInstantiator
651 SourceLocation Loc,
653 : inherited(SemaRef), TemplateArgs(TemplateArgs), Loc(Loc),
664 SourceLocation getBaseLocation() { return Loc; }
671 void setBase(SourceLocation Loc, DeclarationName Entity) { argument
672 this->Loc = Loc;
726 Decl *TransformDecl(SourceLocation Loc, Decl *D);
738 Decl *TransformDefinition(SourceLocation Loc, Dec
649 TemplateInstantiator(Sema &SemaRef, const MultiLevelTemplateArgumentList &TemplateArgs, SourceLocation Loc, DeclarationName Entity) argument
886 TransformDecl(SourceLocation Loc, Decl *D) argument
921 TransformDefinition(SourceLocation Loc, Decl *D) argument
931 TransformFirstQualifierInScope(NamedDecl *D, SourceLocation Loc) argument
1209 RebuildParmVarDeclRefExpr(ParmVarDecl *PD, SourceLocation Loc) argument
1462 SubstType(TypeSourceInfo *T, const MultiLevelTemplateArgumentList &Args, SourceLocation Loc, DeclarationName Entity) argument
1478 SubstType(TypeLoc TL, const MultiLevelTemplateArgumentList &Args, SourceLocation Loc, DeclarationName Entity) argument
1509 SubstType(QualType T, const MultiLevelTemplateArgumentList &TemplateArgs, SourceLocation Loc, DeclarationName Entity) argument
1560 SubstFunctionDeclType(TypeSourceInfo *T, const MultiLevelTemplateArgumentList &Args, SourceLocation Loc, DeclarationName Entity, CXXRecordDecl *ThisContext, unsigned ThisTypeQuals) argument
1688 SubstParmTypes(SourceLocation Loc, ParmVarDecl **Params, unsigned NumParams, const MultiLevelTemplateArgumentList &TemplateArgs, SmallVectorImpl<QualType> &ParamTypes, SmallVectorImpl<ParmVarDecl *> *OutParams) argument
2633 SubstTemplateName(NestedNameSpecifierLoc QualifierLoc, TemplateName Name, SourceLocation Loc, const MultiLevelTemplateArgumentList &TemplateArgs) argument
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DPathDiagnostic.cpp183 Loc = CP->getLocation();
647 SourceLocation Loc = (*CS->body_begin())->getLocStart(); local
648 return PathDiagnosticLocation(Loc, SM, SingleLocK);
811 return PathDiagnosticRange(SourceRange(Loc,Loc), true);
862 return SourceRange(Loc,Loc);
1063 ID.AddInteger(Loc.getRawEncoding());
/external/llvm/include/llvm/Support/
H A DCommandLine.h330 Ty &Loc; member in struct:llvm::cl::LocationClass
331 LocationClass(Ty &L) : Loc(L) {}
334 void apply(Opt &O) const { O.setLocation(O, Loc); }
/external/llvm/include/llvm/TableGen/
H A DRecord.h1639 MultiClass(const std::string &Name, SMLoc Loc, RecordKeeper &Records) : argument
1640 Rec(Name, Loc, Records) {}
/external/llvm/lib/Analysis/
H A DScalarEvolutionExpander.cpp179 DebugLoc Loc = Builder.GetInsertPoint()->getDebugLoc(); local
194 BO->setDebugLoc(Loc);
/external/llvm/lib/IR/
H A DDebugInfo.cpp1045 void DebugInfoFinder::processLocation(const Module &M, DILocation Loc) { argument
1046 if (!Loc)
1049 processScope(Loc.getScope());
1050 processLocation(M, Loc.getOrigLocation());
/external/llvm/lib/MC/
H A DMCAsmStreamer.cpp163 const SMLoc &Loc = SMLoc()) override;
647 const SMLoc &Loc) {
646 EmitValueImpl(const MCExpr *Value, unsigned Size, const SMLoc &Loc) argument
H A DMCDwarf.cpp910 SourceMgr &SrcMgr, SMLoc &Loc) {
931 unsigned CurBuffer = SrcMgr.FindBufferContainingLoc(Loc);
932 unsigned LineNumber = SrcMgr.FindLineNumber(Loc, CurBuffer);
909 Make(MCSymbol *Symbol, MCStreamer *MCOS, SourceMgr &SrcMgr, SMLoc &Loc) argument
H A DMCStreamer.cpp147 const SMLoc &Loc) {
148 EmitValueImpl(Value, Size, Loc);
674 const SMLoc &Loc) {
146 EmitValue(const MCExpr *Value, unsigned Size, const SMLoc &Loc) argument
673 EmitValueImpl(const MCExpr *Value, unsigned Size, const SMLoc &Loc) argument
/external/llvm/lib/Support/
H A DYAMLParser.cpp271 void printError(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Message, argument
273 SM.PrintMessage(Loc, Kind, Message, Ranges);
/external/llvm/lib/TableGen/
H A DTGParser.cpp63 bool TGParser::AddValue(Record *CurRec, SMLoc Loc, const RecordVal &RV) { argument
70 return Error(Loc, "New definition of '" + RV.getName() + "' of type '" +
82 bool TGParser::SetValue(Record *CurRec, SMLoc Loc, Init *ValName, argument
90 return Error(Loc, "Value '" + ValName->getAsUnquotedString()
107 return Error(Loc, "Value '" + ValName->getAsUnquotedString()
113 return Error(Loc, "Initializer is not compatible with bit range");
126 return Error(Loc, "Cannot set bit #" + utostr(Bit) + " of value '" +
139 return Error(Loc, "Value '" + ValName->getAsUnquotedString() + "' of type '"
297 bool TGParser::ProcessForeachDefs(Record *CurRec, SMLoc Loc) { argument
305 return ProcessForeachDefs(CurRec, Loc, IterVal
311 ProcessForeachDefs(Record *CurRec, SMLoc Loc, IterSet &IterVals) argument
[all...]
/external/llvm/lib/Target/ARM/
H A DARMLoadStoreOptimizer.cpp665 MachineBasicBlock::iterator Loc = memOps[insertAfter].MBBI; local
666 ++Loc;
667 if (!MergeOps(MBB, Loc, Offset, Base, BaseKill, Opcode,
672 Merges.push_back(std::prev(Loc));
717 MachineBasicBlock::iterator Loc = MemOps[SIndex].MBBI; local
718 DebugLoc dl = Loc->getDebugLoc();
719 const MachineOperand &PMO = Loc->getOperand(0);
774 bool BaseKill = Loc->findRegisterUseOperandIdx(Base, true) != -1;
1317 MachineBasicBlock::iterator Loc = MemOps[0].MBBI; local
1322 Loc
1978 unsigned Loc = MI2LocMap[Op]; local
2117 unsigned Loc = 0; local
[all...]
/external/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp126 static std::unique_ptr<SystemZOperand> createToken(StringRef Str, SMLoc Loc) { argument
127 auto Op = make_unique<SystemZOperand>(KindToken, Loc, Loc);
622 SMLoc Loc = getLexer().getLoc(); local
624 return Error(Loc, "unexpected token in argument list");
/external/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1480 BasicBlock::iterator Loc = ArgInst; local
1481 B.SetInsertPoint(ArgInst->getParent(), ++Loc);
/external/llvm/utils/TableGen/
H A DAsmMatcherEmitter.cpp697 parseTwoOperandConstraint(StringRef S, ArrayRef<SMLoc> Loc) { argument
701 PrintFatalError(Loc, "missing '=' in two-operand alias constraint");
705 PrintFatalError(Loc, "expected '$' prefix on asm operand name");
712 PrintFatalError(Loc, "expected '$' prefix on asm operand name");
3056 OS << " SMLoc Loc = ((" << Target.getName()
3058 OS << " Parser.Warning(Loc, Info, None);\n";
H A DCodeGenRegisters.cpp315 ArrayRef<SMLoc> Loc; local
317 Loc = TheDef->getLoc();
318 PrintFatalError(Loc, "Register " + getName() +
332 ArrayRef<SMLoc> Loc; local
334 Loc = TheDef->getLoc();
335 PrintFatalError(Loc, "Sub-register can't have two names: " +

Completed in 4756 milliseconds

1234567891011>>