Home
last modified time | relevance | path

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

12345678910>>...20

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenMP.h72 SemaDiagnosticBuilder diagIfOpenMPDeviceCode(SourceLocation Loc,
89 SemaDiagnosticBuilder diagIfOpenMPHostCode(SourceLocation Loc,
124 SourceLocation LParenLoc, MultiExprArg ArgExprs,
125 SourceLocation RParenLoc, Expr *ExecConfig);
128 void ActOnOpenMPBeginDeclareVariant(SourceLocation Loc, OMPTraitInfo &TI);
158 ExprObjectKind OK, SourceLocation Loc);
192 ExprResult PerformOpenMPImplicitIntegerConversion(SourceLocation OpLoc,
197 SourceLocation Loc);
209 void ActOnOpenMPLoopInitialization(SourceLocation ForLoc, Stmt *Init);
214 Stmt *AStmt, SourceLocation StartLoc,
[all …]
H A DSemaObjC.h54 ExprResult CheckObjCForCollectionOperand(SourceLocation forLoc,
56 StmtResult ActOnObjCForCollectionStmt(SourceLocation ForColLoc, Stmt *First,
58 SourceLocation RParenLoc);
63 StmtResult ActOnObjCAtCatchStmt(SourceLocation AtLoc, SourceLocation RParen,
66 StmtResult ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body);
68 StmtResult ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try,
71 StmtResult BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw);
72 StmtResult ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw,
74 ExprResult ActOnObjCAtSynchronizedOperand(SourceLocation atLoc,
76 StmtResult ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, Expr *SynchExpr,
[all …]
H A DSema.h154 typedef ArrayRef<std::pair<IdentifierInfo *, SourceLocation>> ModuleIdPath;
257 SourceLocation>
265 SourceLocation PointerLoc;
269 SourceLocation PointerEndLoc;
316 void enterCondition(Sema &S, SourceLocation Tok);
317 void enterReturn(Sema &S, SourceLocation Tok);
318 void enterVariableInit(SourceLocation Tok, Decl *D);
320 void enterDesignatedInitializer(SourceLocation Tok, QualType BaseType,
331 void enterFunctionArgument(SourceLocation Tok,
334 void enterParenExpr(SourceLocation Tok, SourceLocation LParLoc);
[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, SourceLocation TemplateKWLoc, TypeLoc TL,
111 SourceLocation ColonColonLoc);
125 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc);
139 SourceLocation NamespaceLoc, SourceLocation ColonColonLoc);
154 SourceLocation AliasLoc, SourceLocation ColonColonLoc);
158 void MakeGlobal(ASTContext &Context, 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.h29 OpenACCClause(OpenACCClauseKind K, SourceLocation BeginLoc, in OpenACCClause()
30 SourceLocation EndLoc) in OpenACCClause()
38 SourceLocation getBeginLoc() const { return Location.getBegin(); } in getBeginLoc()
39 SourceLocation getEndLoc() const { return Location.getEnd(); } in getEndLoc()
60 OpenACCAutoClause(SourceLocation BeginLoc, SourceLocation EndLoc) in OpenACCAutoClause()
69 Create(const ASTContext &Ctx, SourceLocation BeginLoc, SourceLocation EndLoc);
82 OpenACCIndependentClause(SourceLocation BeginLoc, SourceLocation EndLoc) in OpenACCIndependentClause()
91 Create(const ASTContext &Ctx, SourceLocation BeginLoc, SourceLocation EndLoc);
103 OpenACCSeqClause(SourceLocation BeginLoc, SourceLocation EndLoc) in OpenACCSeqClause()
112 Create(const ASTContext &Ctx, SourceLocation BeginLoc, SourceLocation EndLoc);
[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.h147 SourceLocation getBeginLoc() const;
150 SourceLocation getEndLoc() const;
193 SourceLocation getTemplateKeywordLoc() const;
200 void initialize(ASTContext &Context, SourceLocation Loc) const { in initialize()
233 SourceLocation findNullabilityLoc() const;
244 SourceLocation Loc);
303 void initializeLocal(ASTContext &Context, SourceLocation Loc) { in initializeLocal()
520 SourceLocation NameLoc;
535 SourceLocation getNameLoc() const { in getNameLoc()
539 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;
305 SourceLocation StartLoc, SourceLocation EndLoc) in OMPExecutableDirective()
502 SourceLocation getBeginLoc() const { return StartLoc; } in getBeginLoc()
504 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc()
510 void setLocStart(SourceLocation Loc) { StartLoc = Loc; } in setLocStart()
515 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd()
638 OMPParallelDirective(SourceLocation StartLoc, SourceLocation EndLoc) in OMPParallelDirective()
[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 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.h140 SourceLocation SemiLoc;
164 SourceLocation IdentLoc;
178 SourceLocation AttrLoc;
205 SourceLocation IfLoc;
229 SourceLocation SwitchLoc;
244 SourceLocation WhileLoc;
254 SourceLocation DoLoc;
264 SourceLocation ForLoc;
275 SourceLocation GotoLoc;
285 SourceLocation ContinueLoc;
[all …]
H A DExprCXX.h94 SourceLocation OperatorLoc, FPOptionsOverride FPFeatures,
103 SourceLocation OperatorLoc, FPOptionsOverride FPFeatures,
149 SourceLocation getOperatorLoc() const { return getRParenLoc(); } in getOperatorLoc()
151 SourceLocation getExprLoc() const LLVM_READONLY { in getExprLoc()
159 SourceLocation getBeginLoc() const { return Range.getBegin(); } in getBeginLoc()
160 SourceLocation getEndLoc() const { return Range.getEnd(); } in getEndLoc()
181 ExprValueKind VK, SourceLocation RP,
189 ExprValueKind VK, SourceLocation RP,
217 SourceLocation getExprLoc() const LLVM_READONLY { in getExprLoc()
218 SourceLocation CLoc = getCallee()->getExprLoc(); in getExprLoc()
[all …]
H A DExpr.h251 SourceLocation getExprLoc() const LLVM_READONLY;
262 bool isUnusedResultAWarning(const Expr *&WarnExpr, SourceLocation &Loc,
326 isModifiableLvalue(ASTContext &Ctx, SourceLocation *Loc = nullptr) const;
417 Classification ClassifyModifiable(ASTContext &Ctx, SourceLocation &Loc) const{ in ClassifyModifiable()
460 Classification ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const;
558 SourceLocation *Loc = nullptr) const;
560 SourceLocation *Loc = nullptr) const;
572 SourceLocation *Loc = nullptr) const;
1127 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc()
1130 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc()
[all …]
H A DStmtOpenACC.h35 SourceLocation DirectiveLoc;
44 SourceLocation Start, SourceLocation DirectiveLoc, in OpenACCConstructStmt()
45 SourceLocation End) in OpenACCConstructStmt()
63 SourceLocation getBeginLoc() const { return Range.getBegin(); } in getBeginLoc()
64 SourceLocation getEndLoc() const { return Range.getEnd(); } in getEndLoc()
65 SourceLocation getDirectiveLoc() const { return DirectiveLoc; } in getDirectiveLoc()
88 SourceLocation Start, in OpenACCAssociatedStmtConstruct()
89 SourceLocation DirectiveLoc, in OpenACCAssociatedStmtConstruct()
90 SourceLocation End, Stmt *AssocStmt) in OpenACCAssociatedStmtConstruct()
139 SourceLocation{}, SourceLocation{}, SourceLocation{}, in OpenACCComputeConstruct()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceLocation.h88 class SourceLocation {
92 friend struct llvm::FoldingSetTrait<SourceLocation, void>;
120 static SourceLocation getFileLoc(UIntTy ID) {
122 SourceLocation L;
127 static SourceLocation getMacroLoc(UIntTy ID) {
129 SourceLocation L;
137 SourceLocation getLocWithOffset(IntTy Offset) const {
139 SourceLocation L;
155 static SourceLocation getFromRawEncoding(UIntTy Encoding) {
156 SourceLocation X;
[all …]
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 …]
/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.h49 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
73 FileID PrevFID, SourceLocation Loc) {} in LexedFileChanged()
111 virtual void EmbedDirective(SourceLocation HashLoc, StringRef FileName, in EmbedDirective()
168 virtual void InclusionDirective(SourceLocation HashLoc, in InclusionDirective()
185 virtual void EnteredSubmodule(Module *M, SourceLocation ImportLoc, in EnteredSubmodule()
196 virtual void LeftSubmodule(Module *M, SourceLocation ImportLoc, in LeftSubmodule()
209 virtual void moduleImport(SourceLocation ImportLoc, in moduleImport()
224 virtual void Ident(SourceLocation Loc, StringRef str) { in Ident()
228 virtual void PragmaDirective(SourceLocation Loc, in PragmaDirective()
233 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind, in PragmaComment()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOpenACCClause.cpp50 SourceLocation BeginLoc, in Create()
51 SourceLocation LParenLoc, in Create()
52 SourceLocation EndLoc) { in Create()
60 SourceLocation BeginLoc, in Create()
61 SourceLocation LParenLoc, in Create()
63 SourceLocation EndLoc) { in Create()
68 OpenACCIfClause::OpenACCIfClause(SourceLocation BeginLoc, in OpenACCIfClause()
69 SourceLocation LParenLoc, Expr *ConditionExpr, in OpenACCIfClause()
70 SourceLocation EndLoc) in OpenACCIfClause()
80 SourceLocation BeginLoc, 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/Parse/
H A DParser.h79 SourceLocation PrevTokLocation;
393 SourceLocation LessLoc;
415 void add(Parser &P, Expr *TemplateName, SourceLocation LessLoc, in add()
466 SourceLocation ExprStatementTokLoc;
548 SourceLocation ConsumeToken() { in ConsumeToken()
566 bool TryConsumeToken(tok::TokenKind Expected, SourceLocation &Loc) { in TryConsumeToken()
576 SourceLocation ConsumeAnyToken(bool ConsumeCodeCompletionTok = false) {
594 SourceLocation getEndOfPreviousToken() { in getEndOfPreviousToken()
644 SourceLocation ConsumeAnnotationToken() { in ConsumeAnnotationToken()
646 SourceLocation Loc = Tok.getLocation(); in ConsumeAnnotationToken()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp48 LookupResult Result(S, &II, SourceLocation(), Sema::LookupTagName); in BuiltinTypeDeclBuilder()
66 SourceLocation(), SourceLocation(), &II, in BuiltinTypeDeclBuilder()
93 AST.getTrivialTypeSourceInfo(Type, SourceLocation()); in addMemberVariable()
95 AST, Record, SourceLocation(), SourceLocation(), &II, Type, MemTySource, in addMemberVariable()
133 DeclarationNameInfo(DeclarationName(&II), SourceLocation()); in lookupBuiltinFunction()
144 return DeclRefExpr::Create(AST, NestedNameSpecifierLoc(), SourceLocation(), in lookupBuiltinFunction()
153 AST.UnsignedCharTy, SourceLocation()); in emitResourceClassExpr()
168 AST, Record, SourceLocation(), in addDefaultHandleConstructor()
169 DeclarationNameInfo(Name, SourceLocation()), ConstructorType, in addDefaultHandleConstructor()
170 AST.getTrivialTypeSourceInfo(ConstructorType, SourceLocation()), in addDefaultHandleConstructor()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp20 CondDirectiveStack.push_back(SourceLocation()); in PPConditionalDirectiveRecord()
39 SourceLocation uppRegion; in rangeIntersectsConditionalDirective()
46 SourceLocation PPConditionalDirectiveRecord::findConditionalDirectiveRegionLoc( in findConditionalDirectiveRegionLoc()
47 SourceLocation Loc) const { in findConditionalDirectiveRegionLoc()
49 return SourceLocation(); in findConditionalDirectiveRegionLoc()
51 return SourceLocation(); in findConditionalDirectiveRegionLoc()
75 void PPConditionalDirectiveRecord::If(SourceLocation Loc, in If()
82 void PPConditionalDirectiveRecord::Ifdef(SourceLocation Loc, in Ifdef()
89 void PPConditionalDirectiveRecord::Ifndef(SourceLocation Loc, in Ifndef()
96 void PPConditionalDirectiveRecord::Elif(SourceLocation Loc, in Elif()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_handlers.h20 SourceLocation Loc;
42 SourceLocation Loc;
43 SourceLocation AssumptionLoc;
53 SourceLocation Loc;
74 SourceLocation Loc;
85 SourceLocation Loc;
94 SourceLocation Loc;
103 SourceLocation Loc;
118 SourceLocation Loc;
128 SourceLocation Loc;
[all …]

12345678910>>...20