Searched defs:Loc (Results 201 - 225 of 312) sorted by relevance

1234567891011>>

/external/clang/include/clang/AST/
H A DExprCXX.h182 SourceLocation Loc; // the location of the casting op member in class:clang::CXXNamedCastExpr
192 : ExplicitCastExpr(SC, ty, VK, kind, op, PathSize, writtenTy), Loc(l),
205 SourceLocation getOperatorLoc() const { return Loc; }
210 SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
429 SourceLocation Loc; member in class:clang::CXXBoolLiteralExpr
434 Value(val), Loc(l) {}
442 SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
443 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; }
445 SourceLocation getLocation() const { return Loc; }
446 void setLocation(SourceLocation L) { Loc
460 SourceLocation Loc; member in class:clang::CXXNullPtrLiteralExpr
764 SourceLocation Loc; member in class:clang::CXXThisExpr
864 SourceLocation Loc; member in class:clang::CXXDefaultArgExpr
866 CXXDefaultArgExpr(StmtClass SC, SourceLocation Loc, ParmVarDecl *param) argument
875 CXXDefaultArgExpr(StmtClass SC, SourceLocation Loc, ParmVarDecl *param, Expr *SubExpr) argument
889 Create(const ASTContext &C, SourceLocation Loc, ParmVarDecl *Param) argument
950 SourceLocation Loc; member in class:clang::CXXDefaultInitExpr
960 Create(const ASTContext &C, SourceLocation Loc, FieldDecl *Field) argument
1074 SourceLocation Loc; member in class:clang::CXXConstructExpr
1125 setLocation(SourceLocation Loc) argument
[all...]
H A DExprObjC.h62 SourceLocation Loc; member in class:clang::ObjCBoolLiteralExpr
66 false, false), Value(val), Loc(l) {}
74 SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
75 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; }
77 SourceLocation getLocation() const { return Loc; }
78 void setLocation(SourceLocation L) { Loc = L; }
468 SourceLocation Loc; member in class:clang::ObjCIvarRefExpr
485 D(d), Base(base), Loc(l), OpLoc(oploc),
504 SourceLocation getLocation() const { return Loc; }
505 void setLocation(SourceLocation L) { Loc
761 setReceiverLocation(SourceLocation Loc) argument
1256 setSuper(SourceLocation Loc, QualType T, bool IsInstanceSuper) argument
[all...]
/external/clang/include/clang/Basic/
H A DDiagnostic.h228 /// 'Loc' can be null if the point represents the diagnostic state
232 FullSourceLoc Loc; member in struct:clang::DiagnosticsEngine::DiagStatePoint
233 DiagStatePoint(DiagState *State, FullSourceLoc Loc) argument
234 : State(State), Loc(Loc) { }
237 // If Loc is invalid it means it came from <command-line>, in which case
239 if (RHS.Loc.isInvalid())
241 if (Loc.isInvalid())
243 return Loc.isBeforeInTranslationUnitThan(RHS.Loc);
[all...]
H A DSourceManager.h181 /// \param Loc If specified, is the location that invalid file diagnostics
187 SourceLocation Loc = SourceLocation(),
803 SourceLocation createMacroArgExpansionLoc(SourceLocation Loc,
810 SourceLocation createExpansionLoc(SourceLocation Loc,
872 llvm::MemoryBuffer *getBuffer(FileID FID, SourceLocation Loc, argument
883 return Entry.getFile().getContentCache()->getBuffer(Diag, *this, Loc,
1020 getModuleImportLoc(SourceLocation Loc) const {
1021 FileID FID = getFileID(Loc);
1031 /// \brief Given a SourceLocation object \p Loc, return the expansion
1033 SourceLocation getExpansionLoc(SourceLocation Loc) cons
1180 isInSLocAddrSpace(SourceLocation Loc, SourceLocation Start, unsigned Length, unsigned *RelativeOffset = nullptr) const argument
1338 isInFileID(SourceLocation Loc, FileID FID, unsigned *RelativeOffset = nullptr) const argument
[all...]
/external/clang/include/clang/Sema/
H A DInitialization.h171 InitializedEntity(EntityKind Kind, SourceLocation Loc, QualType Type, argument
175 LocAndNRVO.Location = Loc.getRawEncoding();
189 InitializedEntity(IdentifierInfo *VarID, QualType FieldType, SourceLocation Loc) argument
194 Capture.Location = Loc.getRawEncoding();
320 SourceLocation Loc) {
321 return InitializedEntity(VarID, FieldType, Loc);
318 InitializeLambdaCapture(IdentifierInfo *VarID, QualType FieldType, SourceLocation Loc) argument
H A DOverload.h718 SourceLocation Loc; member in class:clang::OverloadCandidateSet
730 OverloadCandidateSet(SourceLocation Loc, CandidateSetKind CSK) argument
731 : Loc(Loc), Kind(CSK), NumInlineSequences(0) {}
734 SourceLocation getLocation() const { return Loc; }
781 OverloadingResult BestViableFunction(Sema &S, SourceLocation Loc,
789 SourceLocation Loc = SourceLocation());
795 SourceLocation Loc,
H A DScopeInfo.h71 SourceLocation Loc; member in class:clang::sema::PossiblyUnreachableDiag
74 PossiblyUnreachableDiag(const PartialDiagnostic &PD, SourceLocation Loc, argument
76 : PD(PD), Loc(Loc), stmt(stmt) {}
387 SourceLocation Loc; member in class:clang::sema::CapturingScopeInfo::Capture
398 SourceLocation Loc, SourceLocation EllipsisLoc,
403 Loc(Loc), EllipsisLoc(EllipsisLoc), CaptureType(CaptureType) {}
406 Capture(IsThisCapture, bool IsNested, SourceLocation Loc, argument
410 Loc(Lo
397 Capture(VarDecl *Var, bool Block, bool ByRef, bool IsNested, SourceLocation Loc, SourceLocation EllipsisLoc, QualType CaptureType, Expr *Cpy) argument
473 addCapture(VarDecl *Var, bool isBlock, bool isByref, bool isNested, SourceLocation Loc, SourceLocation EllipsisLoc, QualType CaptureType, Expr *Cpy) argument
708 addPotentialThisCapture(SourceLocation Loc) argument
807 addThisCapture(bool isNested, SourceLocation Loc, QualType CaptureType, Expr *Cpy) argument
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DPathDiagnostic.h136 FullSourceLoc Loc; member in class:clang::ento::PathDiagnosticLocation
142 Loc(genLocation(L)), Range(genRange()) {
164 Loc(genLocation(SourceLocation(), lac)),
167 assert(K == SingleLocK || Loc.isValid());
174 Loc(genLocation()), Range(genRange()) {
176 assert(Loc.isValid());
184 : K(SingleLocK), S(nullptr), D(nullptr), SM(&sm), Loc(loc, sm),
186 assert(Loc.isValid());
260 return K == X.K && Loc == X.Loc
723 PathDiagnosticLocation Loc; member in class:clang::ento::PathDiagnostic
[all...]
/external/clang/lib/AST/
H A DASTDumper.cpp215 void dumpLocation(SourceLocation Loc);
447 void ASTDumper::dumpLocation(SourceLocation Loc) { argument
452 SourceLocation SpellingLoc = SM->getSpellingLoc(Loc);
H A DDeclCXX.cpp112 TypeSourceInfo *Info, SourceLocation Loc,
116 new (C, DC) CXXRecordDecl(CXXRecord, TTK_Class, C, DC, Loc, Loc,
111 CreateLambda(const ASTContext &C, DeclContext *DC, TypeSourceInfo *Info, SourceLocation Loc, bool Dependent, bool IsGeneric, LambdaCaptureDefault CaptureDefault) argument
H A DExprCXX.cpp488 return Loc;
498 SourceLocation End = Loc;
772 CXXDefaultArgExpr::Create(const ASTContext &C, SourceLocation Loc, argument
775 return new (Mem) CXXDefaultArgExpr(CXXDefaultArgExprClass, Loc, Param,
779 CXXDefaultInitExpr::CXXDefaultInitExpr(const ASTContext &C, SourceLocation Loc, argument
786 Field(Field), Loc(Loc) {
828 SourceLocation Loc = getParenOrBraceRange().getEnd(); local
829 if (Loc.isInvalid() && getNumArgs())
830 Loc
834 Create(const ASTContext &C, QualType T, SourceLocation Loc, CXXConstructorDecl *D, bool Elidable, ArrayRef<Expr*> Args, bool HadMultipleCandidates, bool ListInitialization, bool ZeroInitialization, ConstructionKind ConstructKind, SourceRange ParenOrBraceRange) argument
850 CXXConstructExpr(const ASTContext &C, StmtClass SC, QualType T, SourceLocation Loc, CXXConstructorDecl *D, bool elidable, ArrayRef<Expr*> args, bool HadMultipleCandidates, bool ListInitialization, bool ZeroInitialization, ConstructionKind ConstructKind, SourceRange ParenOrBraceRange) argument
888 LambdaCapture(SourceLocation Loc, bool Implicit, LambdaCaptureKind Kind, VarDecl *Var, SourceLocation EllipsisLoc) argument
1482 TypeTraitExpr(QualType T, SourceLocation Loc, TypeTrait Kind, ArrayRef<TypeSourceInfo *> Args, SourceLocation RParenLoc, bool Value) argument
1511 Create(const ASTContext &C, QualType T, SourceLocation Loc, TypeTrait Kind, ArrayRef<TypeSourceInfo *> Args, SourceLocation RParenLoc, bool Value) argument
[all...]
H A DMicrosoftMangle.cpp246 void mangleOperatorName(OverloadedOperatorKind OO, SourceLocation Loc);
864 SourceLocation Loc) {
985 Diags.Report(Loc, DiagID);
863 mangleOperatorName(OverloadedOperatorKind OO, SourceLocation Loc) argument
H A DRecordLayoutBuilder.cpp742 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID);
1995 RecordLayoutBuilder::Diag(SourceLocation Loc, unsigned DiagID) { argument
1996 return Context.getDiagnostics().Report(Loc, DiagID);
H A DStmt.cpp285 AttributedStmt *AttributedStmt::Create(const ASTContext &C, SourceLocation Loc, argument
291 return new (Mem) AttributedStmt(Loc, Attrs, SubStmt);
985 SEHExceptStmt::SEHExceptStmt(SourceLocation Loc, argument
989 Loc(Loc)
995 SEHExceptStmt* SEHExceptStmt::Create(const ASTContext &C, SourceLocation Loc, argument
997 return new(C) SEHExceptStmt(Loc,FilterExpr,Block);
1000 SEHFinallyStmt::SEHFinallyStmt(SourceLocation Loc, argument
1003 Loc(Loc),
1007 Create(const ASTContext &C, SourceLocation Loc, Stmt *Block) argument
[all...]
/external/clang/lib/Analysis/
H A DConsumed.cpp86 SourceLocation Loc; local
88 Loc = getFirstStmtLoc(*Block->succ_begin());
89 if (Loc.isValid())
90 return Loc;
96 return Loc;
1411 SourceLocation Loc = DTor.getTriggerStmt()->getLocEnd(); local
1416 Loc); local
/external/clang/lib/Basic/
H A DSourceManager.cpp86 SourceLocation Loc,
125 Diag.Report(Loc, diag::err_cannot_open_file)
141 Diag.Report(Loc, diag::err_file_modified)
167 Diag.Report(Loc, diag::err_unsupported_bom)
294 /// specified by Loc. If FilenameID is -1, it is considered to be
296 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, argument
298 std::pair<FileID, unsigned> LocInfo = getDecomposedExpansionLoc(Loc);
316 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, argument
325 return AddLineNote(Loc, LineNo, FilenameID);
328 std::pair<FileID, unsigned> LocInfo = getDecomposedExpansionLoc(Loc);
84 getBuffer(DiagnosticsEngine &Diag, const SourceManager &SM, SourceLocation Loc, bool *Invalid) const argument
1023 isAtStartOfImmediateMacroExpansion(SourceLocation Loc, SourceLocation *MacroBegin) const argument
1058 isAtEndOfImmediateMacroExpansion(SourceLocation Loc, SourceLocation *MacroEnd) const argument
1164 isInvalid(SourceLocation Loc, bool *Invalid) argument
1171 getSpellingColumnNumber(SourceLocation Loc, bool *Invalid) const argument
1178 getExpansionColumnNumber(SourceLocation Loc, bool *Invalid) const argument
1185 getPresumedColumnNumber(SourceLocation Loc, bool *Invalid) const argument
1378 getSpellingLineNumber(SourceLocation Loc, bool *Invalid) const argument
1384 getExpansionLineNumber(SourceLocation Loc, bool *Invalid) const argument
1390 getPresumedLineNumber(SourceLocation Loc, bool *Invalid) const argument
1435 getBufferName(SourceLocation Loc, bool *Invalid) const argument
1450 getPresumedLoc(SourceLocation Loc, bool UseLineDirectives) const argument
1989 MoveUpIncludeHierarchy(std::pair<FileID, unsigned> &Loc, const SourceManager &SM) argument
[all...]
/external/clang/lib/CodeGen/
H A DCGBlocks.cpp1984 llvm::Value *Loc = Builder.CreateStructGEP(BaseAddr, 1, "forwarding"); local
1985 Loc = Builder.CreateLoad(Loc);
1986 Loc = Builder.CreateStructGEP(Loc, getByRefValueLLVMField(V),
1988 return Loc;
H A DCGDecl.cpp385 : Dtor(Dtor), NRVOFlag(NRVOFlag), Loc(addr) {}
389 llvm::Value *Loc; member in struct:__anon17823::DestroyNRVOVariable
408 Loc);
745 static void emitStoresForInitAfterMemset(llvm::Constant *Init, llvm::Value *Loc, argument
753 Builder.CreateStore(Init, Loc, isVolatile);
764 emitStoresForInitAfterMemset(Elt, Builder.CreateConstGEP2_32(Loc, 0, i),
778 emitStoresForInitAfterMemset(Elt, Builder.CreateConstGEP2_32(Loc, 0, i),
1084 llvm::Value *Loc = local
1094 LValue lv = MakeAddrLValue(Loc, type, alignment);
1101 LValue lv = MakeAddrLValue(Loc, typ
[all...]
H A DCGException.cpp896 SourceLocation Loc) {
1003 CGF.EmitStoreOfComplex(CGF.EmitLoadOfComplex(srcLV, Loc), destLV,
1007 llvm::Value *ExnLoad = CGF.EmitLoadOfScalar(srcLV, Loc);
893 InitCatchParam(CodeGenFunction &CGF, const VarDecl &CatchParam, llvm::Value *ParamAddr, SourceLocation Loc) argument
H A DCGExprAgg.cpp1349 llvm::Value *Loc = Slot.getAddr(); local
1351 Loc = CGF.Builder.CreateBitCast(Loc, CGF.Int8PtrTy);
1352 CGF.Builder.CreateMemSet(Loc, CGF.Builder.getInt8(0), SizeVal,
H A DCGStmt.cpp37 SourceLocation Loc; local
38 Loc = S->getLocStart();
39 DI->EmitLocation(Builder, Loc);
41 LastStopPoint = Loc;
1684 SourceLocation Loc) {
1688 Arg = EmitLoadOfLValue(InputValue, Loc).getScalarVal();
2113 SourceLocation Loc = S.getLocStart(); local
2151 CXXThisValue = EmitLoadOfLValue(ThisLValue, Loc).getScalarVal();
1681 EmitAsmInputLValue(const TargetInfo::ConstraintInfo &Info, LValue InputValue, QualType InputType, std::string &ConstraintStr, SourceLocation Loc) argument
H A DCodeGenFunction.cpp526 SourceLocation Loc,
602 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, Builder);
791 SourceLocation Loc = FD->getLocation(); local
797 Loc = SpecDecl->getLocation();
800 StartFunction(GD, ResTy, Fn, FnInfo, Args, Loc, BodyRange.getBegin());
521 StartFunction(GlobalDecl GD, QualType RetTy, llvm::Function *Fn, const CGFunctionInfo &FnInfo, const FunctionArgList &Args, SourceLocation Loc, SourceLocation StartLoc) argument
/external/clang/lib/Frontend/
H A DCompilerInstance.cpp469 const ParsedSourceLocation &Loc = getFrontendOpts().CodeCompletionAt; local
473 Loc.FileName, Loc.Line, Loc.Column,
478 } else if (EnableCodeCompletion(getPreprocessor(), Loc.FileName,
479 Loc.Line, Loc.Column)) {
/external/clang/lib/Lex/
H A DLexer.cpp412 unsigned Lexer::MeasureTokenLength(SourceLocation Loc, argument
416 if (getRawToken(Loc, TheTok, SM, LangOpts))
423 bool Lexer::getRawToken(SourceLocation Loc, Token &Result, argument
435 Loc = SM.getExpansionLoc(Loc);
436 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
455 static SourceLocation getBeginningOfFileToken(SourceLocation Loc, argument
458 assert(Loc.isFileID());
459 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
461 return Loc;
515 GetBeginningOfToken(SourceLocation Loc, const SourceManager &SM, const LangOptions &LangOpts) argument
765 getLocForEndOfToken(SourceLocation Loc, unsigned Offset, const SourceManager &SM, const LangOptions &LangOpts) argument
962 getImmediateMacroName(SourceLocation Loc, const SourceManager &SM, const LangOptions &LangOpts) argument
1049 getSourceLocation(const char *Loc, unsigned TokLen) const argument
1068 Diag(const char *Loc, unsigned DiagID) const argument
1162 findLocationAfterToken(SourceLocation Loc, tok::TokenKind TKind, const SourceManager &SM, const LangOptions &LangOpts, bool SkipTrailingWhitespaceAndNewLine) argument
2687 SourceLocation Loc = FileLoc.getLocWithOffset(CurPtr-BufferStart); local
[all...]
H A DModuleMap.cpp865 Module *ModuleMap::inferModuleFromLocation(FullSourceLoc Loc) { argument
866 if (Loc.isInvalid())
870 FullSourceLoc ExpansionLoc = Loc.getExpansionLoc();
874 const SourceManager &SrcMgr = Loc.getManager();

Completed in 335 milliseconds

1234567891011>>