Home
last modified time | relevance | path

Searched refs:SourceLocation (Results 1 – 25 of 569) sorted by relevance

12345678910>>...23

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenMP.h73 SemaDiagnosticBuilder diagIfOpenMPDeviceCode(SourceLocation Loc,
90 SemaDiagnosticBuilder diagIfOpenMPHostCode(SourceLocation Loc,
125 SourceLocation LParenLoc, MultiExprArg ArgExprs,
126 SourceLocation RParenLoc, Expr *ExecConfig);
129 void ActOnOpenMPBeginDeclareVariant(SourceLocation Loc, OMPTraitInfo &TI);
159 ExprObjectKind OK, SourceLocation Loc);
193 ExprResult PerformOpenMPImplicitIntegerConversion(SourceLocation OpLoc,
198 SourceLocation Loc);
210 void ActOnOpenMPLoopInitialization(SourceLocation ForLoc, Stmt *Init);
215 Stmt *AStmt, SourceLocation StartLoc,
[all …]
H A DSemaObjC.h56 ExprResult CheckObjCForCollectionOperand(SourceLocation forLoc,
58 StmtResult ActOnObjCForCollectionStmt(SourceLocation ForColLoc, Stmt *First,
60 SourceLocation RParenLoc);
65 StmtResult ActOnObjCAtCatchStmt(SourceLocation AtLoc, SourceLocation RParen,
68 StmtResult ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body);
70 StmtResult ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try,
73 StmtResult BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw);
74 StmtResult ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw,
76 ExprResult ActOnObjCAtSynchronizedOperand(SourceLocation atLoc,
78 StmtResult ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, Expr *SynchExpr,
[all …]
H A DSema.h232 SourceLocation>
240 SourceLocation PointerLoc;
244 SourceLocation PointerEndLoc;
292 void enterCondition(Sema &S, SourceLocation Tok);
293 void enterReturn(Sema &S, SourceLocation Tok);
294 void enterVariableInit(SourceLocation Tok, Decl *D);
296 void enterDesignatedInitializer(SourceLocation Tok, QualType BaseType,
307 void enterFunctionArgument(SourceLocation Tok,
310 void enterParenExpr(SourceLocation Tok, SourceLocation LParLoc);
311 void enterUnary(Sema &S, SourceLocation Tok, tok::TokenKind OpKind,
[all …]
H A DDeclSpec.h82 void setBeginLoc(SourceLocation Loc) { Range.setBegin(Loc); } in setBeginLoc()
83 void setEndLoc(SourceLocation Loc) { Range.setEnd(Loc); } in setEndLoc()
84 SourceLocation getBeginLoc() const { return Range.getBegin(); } in getBeginLoc()
85 SourceLocation getEndLoc() const { return Range.getEnd(); } in getEndLoc()
110 void Extend(ASTContext &Context, TypeLoc TL, SourceLocation ColonColonLoc);
124 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc);
138 SourceLocation NamespaceLoc, SourceLocation ColonColonLoc);
153 SourceLocation AliasLoc, SourceLocation ColonColonLoc);
157 void MakeGlobal(ASTContext &Context, SourceLocation ColonColonLoc);
173 SourceLocation SuperLoc, SourceLocation ColonColonLoc);
[all …]
H A DDesignator.h45 SourceLocation DotLoc;
48 SourceLocation FieldLoc;
50 FieldDesignatorInfo(const IdentifierInfo *FieldName, SourceLocation DotLoc, in FieldDesignatorInfo()
51 SourceLocation FieldLoc) in FieldDesignatorInfo()
60 SourceLocation LBracketLoc;
63 mutable SourceLocation RBracketLoc;
65 ArrayDesignatorInfo(Expr *Index, SourceLocation LBracketLoc) in ArrayDesignatorInfo()
75 SourceLocation LBracketLoc;
78 SourceLocation EllipsisLoc;
81 mutable SourceLocation RBracketLoc;
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenACCClause.h32 OpenACCClause(OpenACCClauseKind K, SourceLocation BeginLoc, in OpenACCClause()
33 SourceLocation EndLoc) in OpenACCClause()
41 SourceLocation getBeginLoc() const { return Location.getBegin(); } in getBeginLoc()
42 SourceLocation getEndLoc() const { return Location.getEnd(); } in getEndLoc()
64 OpenACCAutoClause(SourceLocation BeginLoc, SourceLocation EndLoc) in OpenACCAutoClause()
73 Create(const ASTContext &Ctx, SourceLocation BeginLoc, SourceLocation EndLoc);
86 OpenACCFinalizeClause(SourceLocation BeginLoc, SourceLocation EndLoc) in OpenACCFinalizeClause()
95 Create(const ASTContext &Ctx, SourceLocation BeginLoc, SourceLocation EndLoc);
108 OpenACCIfPresentClause(SourceLocation BeginLoc, SourceLocation EndLoc) in OpenACCIfPresentClause()
117 Create(const ASTContext &Ctx, SourceLocation BeginLoc, SourceLocation EndLoc);
[all …]
H A DStmtOpenACC.h36 SourceLocation DirectiveLoc;
45 SourceLocation Start, SourceLocation DirectiveLoc, in OpenACCConstructStmt()
46 SourceLocation End) in OpenACCConstructStmt()
64 SourceLocation getBeginLoc() const { return Range.getBegin(); } in getBeginLoc()
65 SourceLocation getEndLoc() const { return Range.getEnd(); } in getEndLoc()
66 SourceLocation getDirectiveLoc() const { return DirectiveLoc; } in getDirectiveLoc()
89 SourceLocation Start, in OpenACCAssociatedStmtConstruct()
90 SourceLocation DirectiveLoc, in OpenACCAssociatedStmtConstruct()
91 SourceLocation End, Stmt *AssocStmt) in OpenACCAssociatedStmtConstruct()
140 SourceLocation{}, SourceLocation{}, SourceLocation{}, in OpenACCComputeConstruct()
[all …]
H A DOpenMPClause.h57 SourceLocation StartLoc;
60 SourceLocation EndLoc;
66 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) in OMPClause()
71 SourceLocation getBeginLoc() const { return StartLoc; } in getBeginLoc()
74 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc()
77 void setLocStart(SourceLocation Loc) { StartLoc = Loc; } in setLocStart()
80 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd()
116 OMPNoChildClause(SourceLocation StartLoc, SourceLocation EndLoc) in OMPNoChildClause()
121 : OMPClause(ClauseKind, SourceLocation(), SourceLocation()) {} in OMPNoChildClause()
147 SourceLocation LParenLoc;
[all …]
H A DTypeLoc.h148 SourceLocation getBeginLoc() const;
151 SourceLocation getEndLoc() const;
194 SourceLocation getTemplateKeywordLoc() const;
201 void initialize(ASTContext &Context, SourceLocation Loc) const { in initialize()
234 SourceLocation findNullabilityLoc() const;
245 SourceLocation Loc);
304 void initializeLocal(ASTContext &Context, SourceLocation Loc) { in initializeLocal()
522 SourceLocation NameLoc;
537 SourceLocation getNameLoc() const { in getNameLoc()
541 void setNameLoc(SourceLocation Loc) { in setNameLoc()
[all …]
H A DStmtOpenMP.h184 SourceLocation getBeginLoc() const { return getLoopStmt()->getBeginLoc(); } in getBeginLoc()
185 SourceLocation getEndLoc() const { return getLoopStmt()->getEndLoc(); } in getEndLoc()
273 SourceLocation StartLoc;
275 SourceLocation EndLoc;
296 SourceLocation StartLoc, SourceLocation EndLoc) in OMPExecutableDirective()
488 SourceLocation getBeginLoc() const { return StartLoc; } in getBeginLoc()
490 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc()
496 void setLocStart(SourceLocation Loc) { StartLoc = Loc; } in setLocStart()
501 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd()
622 OMPParallelDirective(SourceLocation StartLoc, SourceLocation EndLoc) in OMPParallelDirective()
[all …]
H A DExprObjC.h53 SourceLocation AtLoc;
56 ObjCStringLiteral(StringLiteral *SL, QualType T, SourceLocation L) in ObjCStringLiteral()
68 SourceLocation getAtLoc() const { return AtLoc; } in getAtLoc()
69 void setAtLoc(SourceLocation L) { AtLoc = L; } in setAtLoc()
71 SourceLocation getBeginLoc() const LLVM_READONLY { return AtLoc; } in getBeginLoc()
72 SourceLocation getEndLoc() const LLVM_READONLY { return String->getEndLoc(); } in getEndLoc()
89 SourceLocation Loc;
92 ObjCBoolLiteralExpr(bool val, QualType Ty, SourceLocation l) in ObjCBoolLiteralExpr()
103 SourceLocation getBeginLoc() const LLVM_READONLY { return Loc; } in getBeginLoc()
104 SourceLocation getEndLoc() const LLVM_READONLY { return Loc; } in getEndLoc()
[all …]
H A DExprOpenMP.h29 SourceLocation LPLoc; /// The location of the left paren
30 SourceLocation RPLoc; /// The location of the right paren
34 OMPArrayShapingExpr(QualType ExprTy, Expr *Op, SourceLocation L,
35 SourceLocation R, ArrayRef<Expr *> Dims);
61 Expr *Op, SourceLocation L,
62 SourceLocation R, ArrayRef<Expr *> Dims,
68 SourceLocation getLParenLoc() const { return LPLoc; } in getLParenLoc()
69 void setLParenLoc(SourceLocation L) { LPLoc = L; } in setLParenLoc()
71 SourceLocation getRParenLoc() const { return RPLoc; } in getRParenLoc()
72 void setRParenLoc(SourceLocation L) { RPLoc = L; } in setRParenLoc()
[all …]
H A DCommentSema.h63 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { in Diag()
89 BlockCommandComment *actOnBlockCommandStart(SourceLocation LocBegin,
90 SourceLocation LocEnd,
100 ParamCommandComment *actOnParamCommandStart(SourceLocation LocBegin,
101 SourceLocation LocEnd,
106 SourceLocation ArgLocBegin,
107 SourceLocation ArgLocEnd,
111 SourceLocation ArgLocBegin,
112 SourceLocation ArgLocEnd,
118 TParamCommandComment *actOnTParamCommandStart(SourceLocation LocBegin,
[all …]
H A DStmtObjC.h26 SourceLocation ForLoc;
27 SourceLocation RParenLoc;
30 SourceLocation FCL, SourceLocation RPL);
52 SourceLocation getForLoc() const { return ForLoc; } in getForLoc()
53 void setForLoc(SourceLocation Loc) { ForLoc = Loc; } in setForLoc()
54 SourceLocation getRParenLoc() const { return RParenLoc; } in getRParenLoc()
55 void setRParenLoc(SourceLocation Loc) { RParenLoc = Loc; } in setRParenLoc()
57 SourceLocation getBeginLoc() const LLVM_READONLY { return ForLoc; } in getBeginLoc()
58 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc()
81 SourceLocation AtCatchLoc, RParenLoc;
[all …]
H A DStmt.h142 SourceLocation SemiLoc;
166 SourceLocation IdentLoc;
180 SourceLocation AttrLoc;
207 SourceLocation IfLoc;
231 SourceLocation SwitchLoc;
246 SourceLocation WhileLoc;
256 SourceLocation DoLoc;
266 SourceLocation ForLoc;
277 SourceLocation GotoLoc;
287 SourceLocation ContinueLoc;
[all …]
H A DExpr.h250 SourceLocation getExprLoc() const LLVM_READONLY;
261 bool isUnusedResultAWarning(const Expr *&WarnExpr, SourceLocation &Loc,
325 isModifiableLvalue(ASTContext &Ctx, SourceLocation *Loc = nullptr) const;
416 Classification ClassifyModifiable(ASTContext &Ctx, SourceLocation &Loc) const{ in ClassifyModifiable()
459 Classification ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const;
557 SourceLocation *Loc = nullptr) const;
559 SourceLocation *Loc = nullptr) const;
571 SourceLocation *Loc = nullptr) const;
1130 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc()
1133 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h222 SourceLocation Loc = SourceLocation()) const;
303 SourceLocation IncludeLoc;
321 static FileInfo get(SourceLocation IL, ContentCache &Con, in get()
333 SourceLocation getIncludeLoc() const { in getIncludeLoc()
365 SourceLocation SpellingLoc;
373 SourceLocation ExpansionLocStart, ExpansionLocEnd;
379 SourceLocation getSpellingLoc() const { in getSpellingLoc()
383 SourceLocation getExpansionLocStart() const { in getExpansionLocStart()
387 SourceLocation getExpansionLocEnd() const { in getExpansionLocEnd()
420 static ExpansionInfo create(SourceLocation SpellingLoc, SourceLocation Start,
[all …]
H A DSourceLocation.h90 class SourceLocation {
94 friend struct llvm::FoldingSetTrait<SourceLocation, void>;
122 static SourceLocation getFileLoc(UIntTy ID) {
124 SourceLocation L;
129 static SourceLocation getMacroLoc(UIntTy ID) {
131 SourceLocation L;
139 SourceLocation getLocWithOffset(IntTy Offset) const {
141 SourceLocation L;
157 static SourceLocation getFromRawEncoding(UIntTy Encoding) {
158 SourceLocation X;
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOpenACCClause.cpp61 SourceLocation BeginLoc, in Create()
62 SourceLocation LParenLoc, in Create()
63 SourceLocation EndLoc) { in Create()
71 SourceLocation BeginLoc, in Create()
72 SourceLocation LParenLoc, in Create()
74 SourceLocation EndLoc) { in Create()
79 OpenACCIfClause::OpenACCIfClause(SourceLocation BeginLoc, in OpenACCIfClause()
80 SourceLocation LParenLoc, Expr *ConditionExpr, in OpenACCIfClause()
81 SourceLocation EndLoc) in OpenACCIfClause()
91 SourceLocation BeginLoc, in Create()
[all …]
H A DStmtOpenACC.cpp28 const ASTContext &C, OpenACCDirectiveKind K, SourceLocation BeginLoc, in Create()
29 SourceLocation DirLoc, SourceLocation EndLoc, in Create()
42 SourceLocation{}, SourceLocation{}, SourceLocation{}, in OpenACCLoopConstruct()
49 OpenACCDirectiveKind ParentKind, SourceLocation Start, in OpenACCLoopConstruct()
50 SourceLocation DirLoc, SourceLocation End, in OpenACCLoopConstruct()
77 SourceLocation BeginLoc, SourceLocation DirLoc, SourceLocation EndLoc, in Create()
98 const ASTContext &C, OpenACCDirectiveKind DK, SourceLocation BeginLoc, in Create()
99 SourceLocation DirLoc, SourceLocation EndLoc, in Create()
119 OpenACCDataConstruct::Create(const ASTContext &C, SourceLocation Start, in Create()
120 SourceLocation DirectiveLoc, SourceLocation End, in Create()
[all …]
H A DSelectorLocationsKind.cpp19 static SourceLocation getStandardSelLoc(unsigned Index, in getStandardSelLoc()
22 SourceLocation ArgLoc, in getStandardSelLoc()
23 SourceLocation EndLoc) { in getStandardSelLoc()
28 return SourceLocation(); in getStandardSelLoc()
36 return SourceLocation(); in getStandardSelLoc()
47 SourceLocation getArgLoc(T* Arg);
50 SourceLocation getArgLoc<Expr>(Expr *Arg) { in getArgLoc()
55 SourceLocation getArgLoc<ParmVarDecl>(ParmVarDecl *Arg) { in getArgLoc()
56 SourceLocation Loc = Arg->getBeginLoc(); in getArgLoc()
64 SourceLocation getArgLoc(unsigned Index, ArrayRef<T*> Args) { in getArgLoc()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPPConditionalDirectiveRecord.h28 SmallVector<SourceLocation, 6> CondDirectiveStack;
31 SourceLocation Loc;
32 SourceLocation RegionLoc;
35 CondDirectiveLoc(SourceLocation Loc, SourceLocation RegionLoc) in CondDirectiveLoc()
38 SourceLocation getLoc() const { return Loc; } in getLoc()
39 SourceLocation getRegionLoc() const { return RegionLoc; } in getRegionLoc()
49 bool operator()(const CondDirectiveLoc &LHS, SourceLocation RHS) { in operator()
52 bool operator()(SourceLocation LHS, const CondDirectiveLoc &RHS) { in operator()
79 bool areInDifferentConditionalDirectiveRegion(SourceLocation LHS, in areInDifferentConditionalDirectiveRegion()
80 SourceLocation RHS) const { in areInDifferentConditionalDirectiveRegion()
[all …]
H A DPPCallbacks.h50 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
74 FileID PrevFID, SourceLocation Loc) {} in LexedFileChanged()
112 virtual void EmbedDirective(SourceLocation HashLoc, StringRef FileName, in EmbedDirective()
169 virtual void InclusionDirective(SourceLocation HashLoc, in InclusionDirective()
186 virtual void EnteredSubmodule(Module *M, SourceLocation ImportLoc, in EnteredSubmodule()
197 virtual void LeftSubmodule(Module *M, SourceLocation ImportLoc, in LeftSubmodule()
210 virtual void moduleImport(SourceLocation ImportLoc, in moduleImport()
225 virtual void Ident(SourceLocation Loc, StringRef str) { in Ident()
229 virtual void PragmaDirective(SourceLocation Loc, in PragmaDirective()
234 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind, in PragmaComment()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h262 SourceLocation ConsumeToken() { in ConsumeToken()
280 bool TryConsumeToken(tok::TokenKind Expected, SourceLocation &Loc) { in TryConsumeToken()
290 SourceLocation ConsumeAnyToken(bool ConsumeCodeCompletionTok = false) {
307 SourceLocation getEndOfPreviousToken() const;
462 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID);
466 DiagnosticBuilder DiagCompat(SourceLocation Loc, unsigned CompatDiagId);
532 SourceLocation PrevTokLocation;
623 SourceLocation ConsumeAnnotationToken() { in ConsumeAnnotationToken()
625 SourceLocation Loc = Tok.getLocation(); in ConsumeAnnotationToken()
633 SourceLocation ConsumeParen() { in ConsumeParen()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafety.h118 virtual void handleInvalidLockExp(SourceLocation Loc) {} in handleInvalidLockExp()
128 SourceLocation Loc, in handleUnmatchedUnlock()
129 SourceLocation LocPreviousUnlock) {} in handleUnmatchedUnlock()
143 SourceLocation LocLocked, in handleIncorrectUnlockKind()
144 SourceLocation LocUnlock) {} in handleIncorrectUnlockKind()
153 SourceLocation LocLocked, in handleDoubleLock()
154 SourceLocation LocDoubleLock) {} in handleDoubleLock()
171 SourceLocation LocLocked,
172 SourceLocation LocEndOfScope,
185 SourceLocation Loc1, in handleExclusiveAndShared()
[all …]

12345678910>>...23