Searched defs:Loc (Results 1 - 25 of 312) sorted by path

1234567891011>>

/external/clang/include/clang/AST/
H A DComment.h56 SourceLocation Loc; member in class:clang::comments::Comment
180 Loc = L;
198 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) {
224 SourceLocation getLocation() const LLVM_READONLY { return Loc; }
H A DCommentBriefParser.h39 SourceLocation Loc = Tok.getLocation(); local
41 return Loc;
H A DCommentLexer.h62 SourceLocation Loc; member in class:clang::comments::Token
82 SourceLocation getLocation() const LLVM_READONLY { return Loc; }
83 void setLocation(SourceLocation SL) { Loc = SL; }
87 return Loc;
88 return Loc.getLocWithOffset(Length - 1);
304 SourceLocation getSourceLocation(const char *Loc) const {
305 assert(Loc >= BufferStart && Loc <= BufferEnd &&
308 const unsigned CharNo = Loc - BufferStart;
312 DiagnosticBuilder Diag(SourceLocation Loc, unsigne argument
[all...]
H A DCommentParser.h48 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { argument
49 return Diags.Report(Loc, DiagID);
H A DCommentSema.h64 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { argument
65 return Diags.Report(Loc, DiagID);
159 VerbatimBlockComment *actOnVerbatimBlockStart(SourceLocation Loc,
162 VerbatimBlockLineComment *actOnVerbatimBlockLine(SourceLocation Loc,
H A DDeclBase.h236 /// Loc - The location of this decl.
237 SourceLocation Loc; member in class:clang::Decl
316 Loc(L), DeclKind(DK), InvalidDecl(0),
365 SourceLocation getLocation() const { return Loc; }
366 void setLocation(SourceLocation L) { Loc = L; }
992 SourceLocation Loc; member in class:clang::PrettyStackTraceDecl
998 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {}
H A DDeclCXX.h682 TypeSourceInfo *Info, SourceLocation Loc,
2746 UsingShadowDecl(ASTContext &C, DeclContext *DC, SourceLocation Loc, argument
2748 : NamedDecl(UsingShadow, DC, Loc, DeclarationName()),
2771 SourceLocation Loc, UsingDecl *Using,
2773 return new (C, DC) UsingShadowDecl(C, DC, Loc, Using, Target);
2770 Create(ASTContext &C, DeclContext *DC, SourceLocation Loc, UsingDecl *Using, NamedDecl *Target) argument
H A DDeclObjC.h610 void setAtStartLoc(SourceLocation Loc) { AtStart = Loc; } argument
1327 void setSuperClassLoc(SourceLocation Loc) { data().SuperClassLoc = Loc; } argument
1819 void setCategoryNameLoc(SourceLocation Loc) { CategoryNameLoc = Loc; } argument
1821 void setIvarLBraceLoc(SourceLocation Loc) { IvarLBraceLoc = Loc; } argument
1823 void setIvarRBraceLoc(SourceLocation Loc) { IvarRBraceLoc = Loc; } argument
2110 setIvarLBraceLoc(SourceLocation Loc) argument
2112 setIvarRBraceLoc(SourceLocation Loc) argument
2410 setAtLoc(SourceLocation Loc) argument
[all...]
H A DDeclTemplate.h1519 void setPointOfInstantiation(SourceLocation Loc) { argument
1520 assert(Loc.isValid() && "point of instantiation must be valid!");
1521 PointOfInstantiation = Loc;
1609 void setExternLoc(SourceLocation Loc) { argument
1612 ExplicitInfo->ExternLoc = Loc;
1616 void setTemplateKeywordLoc(SourceLocation Loc) { argument
1619 ExplicitInfo->TemplateKeywordLoc = Loc;
2029 FriendTemplateDecl(DeclContext *DC, SourceLocation Loc, argument
2034 : Decl(Decl::FriendTemplate, DC, Loc),
2049 DeclContext *DC, SourceLocation Loc,
2190 ClassScopeFunctionSpecializationDecl(DeclContext *DC, SourceLocation Loc, CXXMethodDecl *FD, bool Args, TemplateArgumentListInfo TemplArgs) argument
2209 Create(ASTContext &C, DeclContext *DC, SourceLocation Loc, CXXMethodDecl *FD, bool HasExplicitTemplateArgs, TemplateArgumentListInfo TemplateArgs) argument
2374 setPointOfInstantiation(SourceLocation Loc) argument
2468 setExternLoc(SourceLocation Loc) argument
2475 setTemplateKeywordLoc(SourceLocation Loc) argument
[all...]
H A DDeclarationName.h433 /// Loc - The main source location for the declaration name.
508 void setCXXLiteralOperatorNameLoc(SourceLocation Loc) { argument
510 LocInfo.CXXLiteralOperatorName.OpNameLoc = Loc.getRawEncoding();
H A DDependentDiagnostic.h41 SourceLocation Loc,
49 DD->AccessData.Loc = Loc.getRawEncoding();
74 return SourceLocation::getFromRawEncoding(AccessData.Loc);
112 unsigned Loc; member in struct:clang::DependentDiagnostic::__anon17483
38 Create(ASTContext &Context, DeclContext *Parent, AccessNonce _, SourceLocation Loc, bool IsMemberAccess, AccessSpecifier AS, NamedDecl *TargetDecl, CXXRecordDecl *NamingClass, QualType BaseObjectType, const PartialDiagnostic &PDiag) argument
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...]
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...]
H A DLambdaCapture.h40 SourceLocation Loc; member in class:clang::LambdaCapture
49 /// \param Loc The source location associated with this capture.
62 LambdaCapture(SourceLocation Loc, bool Implicit, LambdaCaptureKind Kind,
107 SourceLocation getLocation() const { return Loc; }
H A DOpenMPClause.h51 void setLocStart(SourceLocation Loc) { StartLoc = Loc; } argument
53 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } argument
132 void setLParenLoc(SourceLocation Loc) { LParenLoc = Loc; } argument
185 void setLParenLoc(SourceLocation Loc) { LParenLoc = Loc; } argument
239 void setLParenLoc(SourceLocation Loc) { LParenLoc = Loc; } argument
295 setLParenLoc(SourceLocation Loc) argument
351 setLParenLoc(SourceLocation Loc) argument
417 setLParenLoc(SourceLocation Loc) argument
488 setLParenLoc(SourceLocation Loc) argument
535 setLParenLoc(SourceLocation Loc) argument
545 setCommaLoc(SourceLocation Loc) argument
1058 setColonLoc(SourceLocation Loc) argument
1143 setColonLoc(SourceLocation Loc) argument
[all...]
H A DStmt.h557 explicit CompoundStmt(SourceLocation Loc) argument
558 : Stmt(CompoundStmtClass), Body(nullptr), LBracLoc(Loc), RBracLoc(Loc) {
825 AttributedStmt(SourceLocation Loc, ArrayRef<const Attr*> Attrs, Stmt *SubStmt) argument
826 : Stmt(AttributedStmtClass), SubStmt(SubStmt), AttrLoc(Loc),
842 static AttributedStmt *Create(const ASTContext &C, SourceLocation Loc,
1814 SourceLocation Loc; member in class:clang::SEHExceptStmt
1819 SEHExceptStmt(SourceLocation Loc,
1836 SourceLocation getExceptLoc() const { return Loc; }
1858 SourceLocation Loc; member in class:clang::SEHFinallyStmt
1984 SourceLocation Loc; member in class:clang::CapturedStmt::Capture
1995 Capture(SourceLocation Loc, VariableCaptureKind Kind, VarDecl *Var = nullptr) argument
[all...]
H A DStmtCXX.h186 void setForLoc(SourceLocation Loc) { ForLoc = Loc; } argument
188 void setColonLoc(SourceLocation Loc) { ColonLoc = Loc; } argument
190 void setRParenLoc(SourceLocation Loc) { RParenLoc = Loc; } argument
H A DStmtObjC.h54 void setForLoc(SourceLocation Loc) { ForLoc = Loc; } argument
56 void setRParenLoc(SourceLocation Loc) { RParenLoc = Loc; } argument
103 void setAtCatchLoc(SourceLocation Loc) { AtCatchLoc = Loc; } argument
105 void setRParenLoc(SourceLocation Loc) { RParenLoc = Loc; } argument
141 void setAtFinallyLoc(SourceLocation Loc) { AtFinallyLoc = Loc; } argument
193 setAtTryLoc(SourceLocation Loc) argument
328 setThrowLoc(SourceLocation Loc) argument
363 setAtLoc(SourceLocation Loc) argument
[all...]
H A DStmtOpenMP.h135 /// \param Loc New starting location of directive.
137 void setLocStart(SourceLocation Loc) { StartLoc = Loc; } argument
140 /// \param Loc New ending location of directive.
142 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } argument
H A DTemplateBase.h533 void setLAngleLoc(SourceLocation Loc) { LAngleLoc = Loc; } argument
534 void setRAngleLoc(SourceLocation Loc) { RAngleLoc = Loc; } argument
550 void addArgument(const TemplateArgumentLoc &Loc) { argument
551 Arguments.push_back(Loc);
H A DTypeLoc.h159 void initialize(ASTContext &Context, SourceLocation Loc) const {
160 initializeImpl(Context, *this, Loc);
194 SourceLocation Loc);
248 void initializeLocal(ASTContext &Context, SourceLocation Loc) { argument
279 if (QualifiedTypeLoc Loc = getAs<QualifiedTypeLoc>())
280 return Loc.getUnqualifiedLoc();
463 void setNameLoc(SourceLocation Loc) { argument
464 this->getLocalData()->NameLoc = Loc;
469 void initializeLocal(ASTContext &Context, SourceLocation Loc) { argument
470 setNameLoc(Loc);
492 setBuiltinLoc(SourceLocation Loc) argument
573 initializeLocal(ASTContext &Context, SourceLocation Loc) argument
826 setLAngleLoc(SourceLocation Loc) argument
833 setRAngleLoc(SourceLocation Loc) argument
[all...]
/external/clang/include/clang/Analysis/Analyses/
H A DConsumed.h55 /// \param Loc -- The location of the end of the loop.
59 virtual void warnLoopStateMismatch(SourceLocation Loc, argument
64 /// \param Loc -- The SourceLocation of the return statement.
71 virtual void warnParamReturnTypestateMismatch(SourceLocation Loc, argument
85 /// \param Loc -- The location of the attributes.
88 virtual void warnReturnTypestateForUnconsumableType(SourceLocation Loc, argument
93 /// \param Loc -- The SourceLocation of the return statement.
100 virtual void warnReturnTypestateMismatch(SourceLocation Loc, argument
110 /// \param Loc -- The SourceLocation of the method invocation.
113 SourceLocation Loc) {}
111 warnUseOfTempInInvalidState(StringRef MethodName, StringRef State, SourceLocation Loc) argument
125 warnUseInInvalidState(StringRef MethodName, StringRef VariableName, StringRef State, SourceLocation Loc) argument
[all...]
H A DThreadSafety.h77 /// \param Loc -- the SourceLocation of the unresolved expression.
78 virtual void handleInvalidLockExp(StringRef Kind, SourceLocation Loc) {} argument
85 /// \param Loc -- The SourceLocation of the Unlock
87 SourceLocation Loc) {}
97 /// \param Loc -- The SourceLocation of the Unlock.
100 SourceLocation Loc) {}
106 /// \param Loc -- The location of the second lock expression.
108 SourceLocation Loc) {}
145 /// \param Loc -- The location of the protected operation.
148 SourceLocation Loc) {}
86 handleUnmatchedUnlock(StringRef Kind, Name LockName, SourceLocation Loc) argument
98 handleIncorrectUnlockKind(StringRef Kind, Name LockName, LockKind Expected, LockKind Received, SourceLocation Loc) argument
107 handleDoubleLock(StringRef Kind, Name LockName, SourceLocation Loc) argument
146 handleNoMutexHeld(StringRef Kind, const NamedDecl *D, ProtectedOperationKind POK, AccessKind AK, SourceLocation Loc) argument
159 handleMutexNotHeld(StringRef Kind, const NamedDecl *D, ProtectedOperationKind POK, Name LockName, LockKind LK, SourceLocation Loc, Name *PossibleMatch = nullptr) argument
171 handleFunExcludesLock(StringRef Kind, Name FunName, Name LockName, SourceLocation Loc) argument
[all...]
/external/clang/include/clang/Analysis/
H A DProgramPoint.h379 /// \param Loc can be used to store the information about the location
381 PostStore(const Stmt *S, const LocationContext *L, const void *Loc, argument
385 setData2(Loc);
478 /// \param Loc The location of the field being initialized.
480 const void *Loc,
482 : ProgramPoint(I, Loc, PostInitializerKind, L) {}
506 ImplicitCallPoint(const Decl *D, SourceLocation Loc, Kind K, argument
508 : ProgramPoint(Loc.getPtrEncoding(), D, K, L, Tag) {}
530 PreImplicitCall(const Decl *D, SourceLocation Loc, const LocationContext *L, argument
532 : ImplicitCallPoint(D, Loc, PreImplicitCallKin
479 PostInitializer(const CXXCtorInitializer *I, const void *Loc, const LocationContext *L) argument
547 PostImplicitCall(const Decl *D, SourceLocation Loc, const LocationContext *L, const ProgramPointTag *Tag = nullptr) argument
689 getHashValue(const clang::ProgramPoint &Loc) argument
[all...]

Completed in 751 milliseconds

1234567891011>>