Searched defs:Loc (Results 276 - 300 of 312) sorted by relevance

<<111213

/external/clang/lib/CodeGen/
H A DCodeGenModule.cpp1108 llvm::Constant *CodeGenModule::EmitAnnotationUnit(SourceLocation Loc) { argument
1110 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
1113 return EmitAnnotationString(SM.getBufferName(Loc));
1964 SourceLocation Loc, bool IsDynInit) {
1976 PresumedLoc PLoc = Context.getSourceManager().getPresumedLoc(Loc);
1963 reportGlobalToASan(llvm::GlobalVariable *GV, SourceLocation Loc, bool IsDynInit) argument
/external/clang/lib/Sema/
H A DSemaCodeComplete.cpp3837 SourceLocation Loc = Fn->getExprLoc(); local
3838 OverloadCandidateSet CandidateSet(Loc, OverloadCandidateSet::CSK_Normal);
3871 return isBetterOverloadCandidate(*this, X, Y, Loc);
H A DSemaDeclAttr.cpp269 IdentifierLoc *Loc = Attr.getArgAsIdent(ArgNum); local
270 Diag(Loc->Loc, diag::err_attribute_argument_type)
272 << FixItHint::CreateInsertion(Loc->Loc, "\"")
273 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(Loc->Loc), "\"");
274 Str = Loc->Ident->getName();
276 *ArgLocation = Loc->Loc;
830 SourceLocation Loc; local
2291 SourceLocation Loc = E->getExprLoc(); local
4617 DeclClonePragmaWeak(NamedDecl *ND, IdentifierInfo *II, SourceLocation Loc) argument
4854 DoEmitAvailabilityWarning(Sema &S, DelayedDiagnostic::DDKind K, Decl *Ctx, const NamedDecl *D, StringRef Message, SourceLocation Loc, const ObjCInterfaceDecl *UnknownObjCClass, const ObjCPropertyDecl *ObjCProperty, bool ObjCPropertyAccess) argument
4934 EmitAvailabilityWarning(AvailabilityDiagnostic AD, NamedDecl *D, StringRef Message, SourceLocation Loc, const ObjCInterfaceDecl *UnknownObjCClass, const ObjCPropertyDecl *ObjCProperty, bool ObjCPropertyAccess) argument
[all...]
H A DSemaDeclObjC.cpp3525 SourceLocation Loc = CurMethod->getLocation(); local
3526 if (Diags.isIgnored(DIAG, Loc))
3544 Diag(Loc, DIAG) << IV;
H A DSemaExprCXX.cpp573 Sema::ActOnCXXNullPtrLiteral(SourceLocation Loc) { argument
574 return new (Context) CXXNullPtrLiteralExpr(Context.NullPtrTy, Loc);
786 QualType ThisTy, SourceLocation Loc) {
788 = FieldDecl::Create(Context, RD, Loc, Loc, nullptr, ThisTy,
789 Context.getTrivialTypeSourceInfo(ThisTy, Loc),
794 return new (Context) CXXThisExpr(Loc, ThisTy, /*isImplicit*/true);
797 bool Sema::CheckCXXThisCapture(SourceLocation Loc, bool Explicit, argument
818 Diag(Loc, diag::err_this_capture) << Explicit;
833 Diag(Loc, dia
785 captureThis(ASTContext &Context, RecordDecl *RD, QualType ThisTy, SourceLocation Loc) argument
860 ActOnCXXThis(SourceLocation Loc) argument
1559 CheckAllocatedType(QualType AllocType, SourceLocation Loc, SourceRange R) argument
3088 CheckUnaryTypeTraitTypeCompleteness(Sema &S, TypeTrait UTT, SourceLocation Loc, QualType ArgTy) argument
4050 CheckPointerToMemberOperands(ExprResult &LHS, ExprResult &RHS, ExprValueKind &VK, SourceLocation Loc, bool isIndirect) argument
4625 FindCompositePointerType(SourceLocation Loc, Expr *&E1, Expr *&E2, bool *NonStandardCompositeType) argument
[all...]
H A DSemaExprObjC.cpp149 static bool validateBoxingMethod(Sema &S, SourceLocation Loc, argument
154 S.Diag(Loc, diag::err_undeclared_boxing_method) << Sel << Class->getName();
161 S.Diag(Loc, diag::err_objc_literal_method_sig)
173 static ObjCMethodDecl *getNSNumberFactoryMethod(Sema &S, SourceLocation Loc, argument
182 S.Diag(Loc, diag::err_invalid_nsnumber_type)
203 Loc, Sema::LookupOrdinaryName);
214 S.Diag(Loc, diag::err_undeclared_nsnumber);
218 S.Diag(Loc, diag::err_undeclared_nsnumber);
248 if (!validateBoxingMethod(S, Loc, S.NSNumberDecl, Sel, Method))
1117 ObjCMethodDecl *Sema::tryCaptureObjCSelf(SourceLocation Loc) { argument
1505 SourceLocation Loc = RExpr->getLocStart(); local
1976 BuildClassMessageImplicit(QualType ReceiverType, bool isSuperReceiver, SourceLocation Loc, Selector Sel, ObjCMethodDecl *Method, MultiExprArg Args) argument
2075 SourceLocation Loc = SuperLoc.isValid()? SuperLoc local
2202 BuildInstanceMessageImplicit(Expr *Receiver, QualType ReceiverType, SourceLocation Loc, Selector Sel, ObjCMethodDecl *Method, MultiExprArg Args) argument
2253 SourceLocation Loc = SuperLoc.isValid()? SuperLoc : Receiver->getLocStart(); local
2698 SourceLocation Loc = OSE->getAtLoc(); local
3503 checkObjCBridgeRelatedComponents(SourceLocation Loc, QualType DestType, QualType SrcType, ObjCInterfaceDecl *&RelatedClass, ObjCMethodDecl *&ClassMethod, ObjCMethodDecl *&InstanceMethod, TypedefNameDecl *&TDNDecl, bool CfToNs) argument
3569 CheckObjCBridgeRelatedConversions(SourceLocation Loc, QualType DestType, QualType SrcType, Expr *&SrcExpr) argument
[all...]
H A DSemaInit.cpp317 SourceLocation Loc,
329 SourceLocation Loc);
343 SourceLocation Loc,
346 InitializationKind Kind = InitializationKind::CreateValue(Loc, Loc, Loc,
350 InitListExpr DummyInitList(SemaRef.Context, Loc, None, Loc);
370 InitListExpr(SemaRef.Context, Loc, None, Loc);
342 PerformEmptyInit(Sema &SemaRef, SourceLocation Loc, const InitializedEntity &Entity, bool VerifyOnly) argument
447 CheckEmptyInitializable(const InitializedEntity &Entity, SourceLocation Loc) argument
459 SourceLocation Loc = ILE->getLocEnd(); local
1876 SourceLocation Loc = D->getDotLoc(); local
2460 SourceLocation Loc = Index->getLocStart(); local
2475 ActOnDesignatedInitializer(Designation &Desig, SourceLocation Loc, bool GNUSyntax, ExprResult Init) argument
5059 SourceLocation Loc = getInitializationLoc(Entity, CurInit.get()); local
5279 SourceLocation Loc = (Kind.isCopyInit() && Kind.getEqualLoc().isValid()) local
5943 SourceLocation Loc = CurInit.get()->getLocStart(); local
6359 DiagnoseUninitializedReference(Sema &S, SourceLocation Loc, QualType T) argument
[all...]
H A DSemaLookup.cpp2316 SourceLocation Loc,
2319 LookupResult R(*this, Name, Loc, NameKind, Redecl);
2788 void Sema::ArgumentDependentLookup(DeclarationName Name, SourceLocation Loc, argument
2794 FindAssociatedClassesAndNamespaces(Loc, Args,
3235 LabelDecl *Sema::LookupOrCreateLabel(IdentifierInfo *II, SourceLocation Loc, argument
3242 Res = LabelDecl::Create(Context, CurContext, Loc, II, GnuLabelLoc);
3249 Res = LookupSingleName(CurScope, II, Loc, LookupLabel, NotForRedeclaration);
3256 Res = LabelDecl::Create(Context, CurContext, Loc, II);
2315 LookupSingleName(Scope *S, DeclarationName Name, SourceLocation Loc, LookupNameKind NameKind, RedeclarationKind Redecl) argument
H A DSemaStmt.cpp123 SourceLocation Loc; local
131 Loc = Op->getOperatorLoc();
150 Loc = Op->getOperatorLoc();
160 if (S.SourceMgr.isMacroBodyExpansion(Loc))
163 S.Diag(Loc, diag::warn_unused_comparison)
170 S.Diag(Loc, diag::note_inequality_comparison_to_or_assign)
171 << FixItHint::CreateReplacement(Loc, "|=");
173 S.Diag(Loc, diag::note_equality_comparison_to_assign)
174 << FixItHint::CreateReplacement(Loc, "=");
198 SourceLocation Loc; local
481 ConvertIntegerToTypeWarnOnOverflow(llvm::APSInt &Val, unsigned NewWidth, bool NewSign, SourceLocation Loc, unsigned DiagID) argument
1766 SourceLocation Loc = local
1805 FinishForRangeVarDecl(Sema &SemaRef, VarDecl *Decl, Expr *Init, SourceLocation Loc, int DiagID) argument
1863 BuildForRangeVarDecl(Sema &SemaRef, SourceLocation Loc, QualType Type, const char *Name) argument
3259 ActOnSEHExceptBlock(SourceLocation Loc, Expr *FilterExpr, Stmt *Block) argument
3274 ActOnSEHFinallyBlock(SourceLocation Loc, Stmt *Block) argument
3281 ActOnSEHLeaveStmt(SourceLocation Loc, Scope *CurScope) argument
3315 CreateCapturedStmtRecordDecl(CapturedDecl *&CD, SourceLocation Loc, unsigned NumParams) argument
3363 ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope, CapturedRegionKind Kind, unsigned NumParams) argument
3390 ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope, CapturedRegionKind Kind, ArrayRef<CapturedParamNameType> Params) argument
[all...]
H A DSemaType.cpp1187 QualType Sema::BuildQualifiedType(QualType T, SourceLocation Loc, argument
1217 Diag(DS ? DS->getRestrictSpecLoc() : Loc, DiagID) << ProblemTy;
1225 QualType Sema::BuildQualifiedType(QualType T, SourceLocation Loc, argument
1248 DS ? DS->getAtomicSpecLoc() : Loc);
1252 return BuildQualifiedType(T, Loc, Split.Quals);
1255 return BuildQualifiedType(T, Loc, Qualifiers::fromCVRMask(CVR), DS);
1355 static bool checkQualifiedFunction(Sema &S, QualType T, SourceLocation Loc, argument
1362 S.Diag(Loc, diag::err_compound_qualified_function_type)
1372 /// \param Loc The location of the entity whose type involves this
1382 SourceLocation Loc, DeclarationNam
1381 BuildPointerType(QualType T, SourceLocation Loc, DeclarationName Entity) argument
1416 BuildReferenceType(QualType T, bool SpelledAsLValue, SourceLocation Loc, DeclarationName Entity) argument
1506 SourceLocation Loc = Brackets.getBegin(); local
1741 CheckFunctionReturnType(QualType T, SourceLocation Loc) argument
1765 BuildFunctionType(QualType T, MutableArrayRef<QualType> ParamTypes, SourceLocation Loc, DeclarationName Entity, const FunctionProtoType::ExtProtoInfo &EPI) argument
1804 BuildMemberPointerType(QualType T, QualType Class, SourceLocation Loc, DeclarationName Entity) argument
1858 BuildBlockPointerType(QualType T, SourceLocation Loc, DeclarationName Entity) argument
2004 SourceLocation Loc; member in struct:Qual
2014 SourceLocation Loc; local
3110 SourceLocation Loc = D.getLocStart(); local
3771 SourceLocation Loc; local
3896 ActOnObjCInstanceType(SourceLocation Loc) argument
5076 RequireCompleteType(SourceLocation Loc, QualType T, TypeDiagnoser &Diagnoser) argument
5192 RequireCompleteTypeImpl(SourceLocation Loc, QualType T, TypeDiagnoser &Diagnoser) argument
5332 RequireCompleteType(SourceLocation Loc, QualType T, unsigned DiagID) argument
5370 RequireLiteralType(SourceLocation Loc, QualType T, TypeDiagnoser &Diagnoser) argument
5451 RequireLiteralType(SourceLocation Loc, QualType T, unsigned DiagID) argument
5473 BuildTypeofExprType(Expr *E, SourceLocation Loc) argument
5553 BuildDecltypeType(Expr *E, SourceLocation Loc) argument
5561 BuildUnaryTransformType(QualType BaseType, UnaryTransformType::UTTKind UKind, SourceLocation Loc) argument
5596 BuildAtomicType(QualType T, SourceLocation Loc) argument
[all...]
H A DSemaTemplate.cpp445 /// declaration at location Loc. Returns true to indicate that this is
447 void Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) { argument
457 Diag(Loc, diag::err_template_param_shadow)
530 SourceLocation Loc,
533 S, Name, Loc, Sema::LookupOrdinaryName, Sema::ForRedeclaration);
535 SemaRef.DiagnoseTemplateParameterShadow(Loc, PrevDecl);
559 SourceLocation Loc = ParamNameLoc; local
561 Loc = KeyLoc;
566 KeyLoc, Loc, Depth, Position, ParamName,
596 if (DiagnoseUnexpandedParameterPack(Loc, DefaultTInf
529 maybeDiagnoseTemplateParameterShadow(Sema &SemaRef, Scope *S, SourceLocation Loc, IdentifierInfo *Name) argument
618 CheckNonTypeTemplateParameterType(QualType T, SourceLocation Loc) argument
3055 SourceLocation Loc = AL.getSourceRange().getBegin(); local
5162 BuildExpressionFromDeclTemplateArgument(const TemplateArgument &Arg, QualType ParamType, SourceLocation Loc) argument
5287 BuildExpressionFromIntegralTemplateArgument(const TemplateArgument &Arg, SourceLocation Loc) argument
5641 CheckTemplateSpecializationScope(Sema &S, NamedDecl *Specialized, NamedDecl *PrevDecl, SourceLocation Loc, bool IsPartialSpecialization) argument
7923 SourceLocation Loc = Using->getQualifierLoc().getBeginLoc(); local
7974 SourceLocation Loc; member in class:__anon18102::CurrentInstantiationRebuilder
7980 CurrentInstantiationRebuilder(Sema &SemaRef, SourceLocation Loc, DeclarationName Entity) argument
8004 setBase(SourceLocation Loc, DeclarationName Entity) argument
8042 RebuildTypeInCurrentInstantiation(TypeSourceInfo *T, SourceLocation Loc, DeclarationName Name) argument
[all...]
/external/clang/lib/Serialization/
H A DASTReaderDecl.cpp1276 SourceLocation Loc = ReadSourceLocation(Record, Idx); local
1281 *ToCapture++ = Capture(Loc, IsImplicit, Kind, nullptr,SourceLocation());
1287 *ToCapture++ = Capture(Loc, IsImplicit, Kind, Var, EllipsisLoc);
2214 RawLocation = DOffs.Loc;
2596 RecordLocation Loc = DeclCursorForID(ID, RawLocation); local
2597 llvm::BitstreamCursor &DeclsCursor = Loc.F->DeclsCursor;
2607 DeclsCursor.JumpToBit(Loc.Offset);
2611 ASTDeclReader Reader(*this, *Loc.F, ID, RawLocation, Record,Idx);
2832 if (ReadDeclContextStorage(*Loc.F, DeclsCursor, Offsets,
2833 Loc
[all...]
H A DASTReader.cpp1395 SourceLocation Loc = ReadSourceLocation(F, Record, NextIndex); local
1396 MacroInfo *MI = PP.AllocateDeserializedMacroInfo(Loc, SubModID);
1825 SourceLocation Loc = ReadSourceLocation(M, Record, Idx); local
1834 PP.AllocateDefMacroDirective(MI, Loc, isImported);
1840 MD = PP.AllocateUndefMacroDirective(Loc);
1844 MD = PP.AllocateVisibilityMacroDirective(Loc, isPublic);
3215 SourceLocation Loc = ReadSourceLocation(F, Record, I); local
3217 ImportedModules.push_back(ImportedSubmodule(GlobalID, Loc));
4861 PreprocessedEntityID ASTReader::findPreprocessedEntity(SourceLocation Loc, argument
4863 if (SourceMgr.isLocalSourceLocation(Loc))
4938 SourceLocation Loc = ReadSourceLocation(M, PPOffs.Begin); local
5000 SourceLocation Loc = ReadSourceLocation(F, F.PragmaDiagMappings[Idx++]); local
5051 RecordLocation Loc = TypeCursorForIndex(Index); local
[all...]
H A DASTWriter.cpp1903 SourceLocation Loc = MD->getLocation(); local
1904 if (Loc.isInvalid())
1906 if (PP.getSourceManager().getFileID(Loc) == PP.getPredefinesFileID())
2497 ASTWriter::inferSubmoduleIDFromLocation(SourceLocation Loc) { argument
2498 if (Loc.isInvalid() || !WritingModule)
2504 = ModMap.inferModuleFromLocation(FullSourceLoc(Loc,PP->getSourceManager()));
2532 if (point.Loc.isInvalid())
2535 Record.push_back(point.Loc.getRawEncoding());
2950 SourceLocation Loc = (*S).second; local
2952 AddSourceLocation(Loc, Recor
4630 AddSourceLocation(SourceLocation Loc, RecordDataImpl &Record) argument
4892 SourceLocation Loc = D->getLocation(); local
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp380 const PathDiagnosticLocation &Loc = ExecutionContinues(N); local
382 if (Loc.asStmt())
384 << getSourceManager().getExpansionLineNumber(Loc.asLocation())
400 return Loc;
1292 Loc LV = State->getLValue(PD, CalleeCtx);
1580 const PathDiagnosticLocation &Loc = p->getLocation(); local
1581 EB.addEdge(Loc, true);
1585 if (const Stmt *S = Loc.asStmt())
3006 const FullSourceLoc Loc = piece->getLocation().asLocation(); local
3010 SourceLocation InstantiationLoc = Loc
3471 EmitBasicReport(const Decl *DeclWithIssue, const CheckerBase *Checker, StringRef Name, StringRef Category, StringRef Str, PathDiagnosticLocation Loc, ArrayRef<SourceRange> Ranges) argument
3479 EmitBasicReport(const Decl *DeclWithIssue, CheckName CheckName, StringRef name, StringRef category, StringRef str, PathDiagnosticLocation Loc, ArrayRef<SourceRange> Ranges) argument
[all...]
/external/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp73 bool showMatchError(SMLoc Loc, unsigned ErrCode);
84 bool validateInstruction(MCInst &Inst, SmallVectorImpl<SMLoc> &Loc);
2841 SMLoc Loc = getLoc(); local
2848 return Error(Loc, "mismatched register size suffix");
2853 return Error(Loc, "invalid number of vectors");
2862 SMLoc Loc = getLoc(); local
2869 return Error(Loc, "mismatched register size suffix");
2874 return Error(Loc, "registers must be sequential");
2996 SMLoc Loc = Parser.getTok().getLoc(); local
2997 Operands.push_back(AArch64Operand::CreateToken("[", false, Loc,
3082 SMLoc Loc = Parser.getTok().getLoc(); local
3247 SMLoc Loc = Parser.getTok().getLoc(); local
3254 SMLoc Loc = Parser.getTok().getLoc(); local
3265 SMLoc Loc = Parser.getTok().getLoc(); local
3277 validateInstruction(MCInst &Inst, SmallVectorImpl<SMLoc> &Loc) argument
3448 showMatchError(SMLoc Loc, unsigned ErrCode) argument
3924 SMLoc Loc = DirectiveID.getLoc(); local
3987 parseDirectiveLOH(StringRef IDVal, SMLoc Loc) argument
[all...]
/external/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp137 bool reportParseError(SMLoc Loc, Twine ErrorMsg);
146 bool parseDirectiveCPLoad(SMLoc Loc);
193 int getATReg(SMLoc Loc);
298 void WarnIfAssemblerTemporary(int RegNo, SMLoc Loc);
1426 void MipsAsmParser::WarnIfAssemblerTemporary(int RegIndex, SMLoc Loc) { argument
1429 Warning(Loc, "Used $at without \".set noat\"");
1431 Warning(Loc, Twine("Used $") + Twine(RegIndex) + " with \".set at=$" +
1575 int MipsAsmParser::getATReg(SMLoc Loc) { argument
1578 reportParseError(Loc,
2221 SMLoc Loc local
2226 SMLoc Loc = getLexer().getLoc(); local
2250 SMLoc Loc = getLexer().getLoc(); local
2255 SMLoc Loc = getLexer().getLoc(); local
2284 SMLoc Loc = getLexer().getLoc(); local
2296 SMLoc Loc = getLexer().getLoc(); local
2310 SMLoc Loc = getLexer().getLoc(); local
2319 SMLoc Loc = getLexer().getLoc(); local
2324 reportParseError(SMLoc Loc, Twine ErrorMsg) argument
2544 SMLoc Loc = getLexer().getLoc(); local
2553 parseDirectiveCPLoad(SMLoc Loc) argument
[all...]
/external/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp78 unsigned Loc = 0; local
83 InstrIdx[it] = Loc++;
2743 DebugLoc Loc = cast<Instruction>(ReducedVals[i])->getDebugLoc(); local
2749 Builder.SetCurrentDebugLocation(Loc);
/external/clang/include/clang/AST/
H A DExpr.h233 bool isUnusedResultAWarning(const Expr *&WarnExpr, SourceLocation &Loc,
293 /// \param Loc [in,out] - A source location which *may* be filled
297 isModifiableLvalue(ASTContext &Ctx, SourceLocation *Loc = nullptr) const;
384 /// \param Loc A source location that might be filled with a relevant location
386 Classification ClassifyModifiable(ASTContext &Ctx, SourceLocation &Loc) const{
387 return ClassifyImpl(Ctx, &Loc);
425 Classification ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const;
480 /// valid i-c-e, return false and fill in Loc (if specified) with the location
486 SourceLocation *Loc = nullptr,
489 SourceLocation *Loc
815 SourceLocation Loc; member in class:clang::OpaqueValueExpr
818 OpaqueValueExpr(SourceLocation Loc, QualType T, ExprValueKind VK, ExprObjectKind OK = OK_Ordinary, Expr *SourceExpr = nullptr) argument
897 SourceLocation Loc; member in class:clang::DeclRefExpr
1180 SourceLocation Loc; member in class:clang::PredefinedExpr
1265 SourceLocation Loc; member in class:clang::IntegerLiteral
1313 SourceLocation Loc; member in class:clang::CharacterLiteral
1350 SourceLocation Loc; member in class:clang::FloatingLiteral
1498 Create(const ASTContext &C, StringRef Str, StringKind Kind, bool Pascal, QualType Ty, SourceLocation Loc) argument
1633 setLParen(SourceLocation Loc) argument
1637 setRParen(SourceLocation Loc) argument
1664 SourceLocation Loc; member in class:clang::StringLiteral::UnaryOperator
3640 GNUNullExpr(QualType Ty, SourceLocation Loc) argument
3877 setLBraceLoc(SourceLocation Loc) argument
3879 setRBraceLoc(SourceLocation Loc) argument
[all...]
/external/clang/include/clang/Sema/
H A DDeclSpec.h73 void setBeginLoc(SourceLocation Loc) { Range.setBegin(Loc); } argument
74 void setEndLoc(SourceLocation Loc) { Range.setEnd(Loc); } argument
586 void SetRangeStart(SourceLocation Loc) { Range.setBegin(Loc); } argument
587 void SetRangeEnd(SourceLocation Loc) { Range.setEnd(Loc); } argument
594 /// Diag(Loc, DiagID) << PrevSpec;
599 bool SetStorageClassSpec(Sema &S, SCS SC, SourceLocation Loc,
1052 SourceLocation Loc; member in struct:clang::DeclaratorChunk
1376 getPointer(unsigned TypeQuals, SourceLocation Loc, SourceLocation ConstQualLoc, SourceLocation VolatileQualLoc, SourceLocation RestrictQualLoc) argument
1392 getReference(unsigned TypeQuals, SourceLocation Loc, bool lvalue) argument
1446 getBlockPointer(unsigned TypeQuals, SourceLocation Loc) argument
1456 getMemberPointer(const CXXScopeSpec &SS, unsigned TypeQuals, SourceLocation Loc) argument
1640 SetRangeBegin(SourceLocation Loc) argument
1645 SetRangeEnd(SourceLocation Loc) argument
2165 SourceLocation Loc; member in struct:LambdaIntroducer::LambdaCapture
2170 LambdaCapture(LambdaCaptureKind Kind, SourceLocation Loc, IdentifierInfo *Id, SourceLocation EllipsisLoc, ExprResult Init, ParsedType InitCaptureType) argument
2186 addCapture(LambdaCaptureKind Kind, SourceLocation Loc, IdentifierInfo* Id, SourceLocation EllipsisLoc, ExprResult Init, ParsedType InitCaptureType) argument
[all...]
/external/clang/include/clang/Serialization/
H A DASTBitCodes.h181 unsigned Loc; member in struct:clang::serialization::DeclOffset
185 DeclOffset() : Loc(0), BitOffset(0) { }
186 DeclOffset(SourceLocation Loc, uint32_t BitOffset) argument
187 : Loc(Loc.getRawEncoding()),
190 Loc = L.getRawEncoding();
/external/clang/lib/Rewrite/Frontend/
H A DRewriteObjC.cpp247 void InsertText(SourceLocation Loc, StringRef Str, argument
250 if (!Rewrite.InsertText(Loc, Str, InsertAfter) ||
254 Diags.Report(Context->getFullLoc(Loc), RewriteFailedDiag);
660 SourceLocation Loc = D->getLocation();
661 Loc = SM->getExpansionLoc(Loc);
664 if (Loc.isInvalid()) return;
731 if (SM->isWrittenInMainFile(Loc))
969 SourceLocation Loc = prop->getAtLoc(); local
971 ReplaceText(Loc,
2090 SourceLocation Loc, EndLoc; local
2118 SourceLocation Loc; local
[all...]
/external/clang/tools/c-index-test/
H A Dc-index-test.c682 CXSourceLocation Loc; local
686 Loc = clang_getCursorLocation(Ovl);
687 clang_getSpellingLocation(Loc, 0, &line, &column, 0);
692 CXSourceLocation Loc = clang_getCursorLocation(Referenced); local
693 clang_getSpellingLocation(Loc, 0, &line, &column, 0);
802 CXSourceLocation Loc = clang_getCursorLocation(SpecializationOf); local
804 clang_getSpellingLocation(Loc, 0, &line, &column, 0);
817 CXSourceLocation Loc = clang_getCursorLocation(overridden[I]); local
818 clang_getSpellingLocation(Loc, 0, &line, &column, 0);
906 CXSourceLocation Loc local
1041 CXSourceLocation Loc = clang_getCursorLocation(Cursor); local
1092 CXSourceLocation Loc; local
2135 unsigned NumLocations = 0, Loc; local
2306 unsigned NumLocations = 0, Loc; local
[all...]
/external/clang/tools/libclang/
H A DCIndex.cpp565 SourceLocation Loc = AU->mapLocationToPreamble(BeginLoc); local
569 checkForMacroInMacroDefinition(MI, Loc, TU))
1322 bool CursorVisitor::VisitTemplateName(TemplateName Name, SourceLocation Loc) { argument
1325 return Visit(MakeCursorTemplateRef(Name.getAsTemplateDecl(), Loc, TU));
1329 if (Visit(MakeCursorOverloadedDeclRef(Name, Loc, TU)))
1342 Loc, TU));
1347 Loc, TU));
1352 Loc, TU));
1639 return Visit##PARENT##Loc(TL); \
3596 SourceLocation Loc local
4129 clang_getCursor(CXTranslationUnit TU, CXSourceLocation Loc) argument
[all...]
/external/llvm/lib/IR/
H A DCore.cpp2008 MDNode *Loc = L ? unwrap<MDNode>(L) : nullptr; local
2009 unwrap(Builder)->SetCurrentDebugLocation(DebugLoc::getFromDILocation(Loc));

Completed in 4011 milliseconds

<<111213