Home
last modified time | relevance | path

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

12345678910>>...21

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h147 typedef ArrayRef<std::pair<IdentifierInfo *, SourceLocation>> ModuleIdPath;
239 SourceLocation> UnexpandedParameterPack;
246 SourceLocation PointerLoc;
250 SourceLocation PointerEndLoc;
297 void enterCondition(Sema &S, SourceLocation Tok);
298 void enterReturn(Sema &S, SourceLocation Tok);
299 void enterVariableInit(SourceLocation Tok, Decl *D);
301 void enterDesignatedInitializer(SourceLocation Tok, QualType BaseType,
312 void enterFunctionArgument(SourceLocation Tok,
315 void enterParenExpr(SourceLocation Tok, SourceLocation LParLoc);
[all …]
H A DDeclSpec.h71 void setBeginLoc(SourceLocation Loc) { Range.setBegin(Loc); } in setBeginLoc()
72 void setEndLoc(SourceLocation Loc) { Range.setEnd(Loc); } in setEndLoc()
73 SourceLocation getBeginLoc() const { return Range.getBegin(); } in getBeginLoc()
74 SourceLocation getEndLoc() const { return Range.getEnd(); } in getEndLoc()
92 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
93 SourceLocation ColonColonLoc);
107 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc);
121 SourceLocation NamespaceLoc, SourceLocation ColonColonLoc);
136 SourceLocation AliasLoc, SourceLocation ColonColonLoc);
140 void MakeGlobal(ASTContext &Context, SourceLocation ColonColonLoc);
[all …]
H A DDesignator.h48 SourceLocation DotLoc;
49 SourceLocation NameLoc;
53 SourceLocation LBracketLoc;
54 mutable SourceLocation RBracketLoc;
58 SourceLocation LBracketLoc, EllipsisLoc;
59 mutable SourceLocation RBracketLoc;
80 SourceLocation getDotLoc() const { in getDotLoc()
85 SourceLocation getFieldLoc() const { in getFieldLoc()
104 SourceLocation getLBracketLoc() const { in getLBracketLoc()
113 SourceLocation getRBracketLoc() const { in getRBracketLoc()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DSourceLocation.h89 class SourceLocation {
93 friend struct llvm::FoldingSetTrait<SourceLocation>;
119 static SourceLocation getFileLoc(unsigned ID) {
121 SourceLocation L;
126 static SourceLocation getMacroLoc(unsigned ID) {
128 SourceLocation L;
136 SourceLocation getLocWithOffset(int Offset) const {
138 SourceLocation L;
154 static SourceLocation getFromRawEncoding(unsigned Encoding) {
155 SourceLocation X;
[all …]
H A DSourceManager.h209 SourceLocation Loc = SourceLocation()) const;
290 SourceLocation IncludeLoc;
307 static FileInfo get(SourceLocation IL, ContentCache &Con, in get()
319 SourceLocation getIncludeLoc() const { in getIncludeLoc()
351 SourceLocation SpellingLoc;
359 SourceLocation ExpansionLocStart, ExpansionLocEnd;
365 SourceLocation getSpellingLoc() const { in getSpellingLoc()
369 SourceLocation getExpansionLocStart() const { in getExpansionLocStart()
373 SourceLocation getExpansionLocEnd() const { in getExpansionLocEnd()
406 static ExpansionInfo create(SourceLocation SpellingLoc, SourceLocation Start,
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DOpenMPClause.h56 SourceLocation StartLoc;
59 SourceLocation EndLoc;
65 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) in OMPClause()
70 SourceLocation getBeginLoc() const { return StartLoc; } in getBeginLoc()
73 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc()
76 void setLocStart(SourceLocation Loc) { StartLoc = Loc; } in setLocStart()
79 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd()
177 SourceLocation StartLoc;
179 SourceLocation LParenLoc;
181 SourceLocation EndLoc;
[all …]
H A DTypeLoc.h146 SourceLocation getBeginLoc() const;
149 SourceLocation getEndLoc() const;
196 void initialize(ASTContext &Context, SourceLocation Loc) const { in initialize()
229 SourceLocation findNullabilityLoc() const;
237 SourceLocation Loc);
291 void initializeLocal(ASTContext &Context, SourceLocation Loc) { in initializeLocal()
508 SourceLocation NameLoc;
523 SourceLocation getNameLoc() const { in getNameLoc()
527 void setNameLoc(SourceLocation Loc) { in setNameLoc()
535 void initializeLocal(ASTContext &Context, SourceLocation Loc) { in initializeLocal()
[all …]
H A DExprOpenMP.h59 SourceLocation ColonLocFirst;
60 SourceLocation ColonLocSecond;
61 SourceLocation RBracketLoc;
66 SourceLocation ColonLocFirst, in OMPArraySectionExpr()
67 SourceLocation ColonLocSecond, SourceLocation RBracketLoc) in OMPArraySectionExpr()
113 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc()
116 SourceLocation getEndLoc() const LLVM_READONLY { return RBracketLoc; } in getEndLoc()
118 SourceLocation getColonLocFirst() const { return ColonLocFirst; } in getColonLocFirst()
119 void setColonLocFirst(SourceLocation L) { ColonLocFirst = L; } in setColonLocFirst()
121 SourceLocation getColonLocSecond() const { return ColonLocSecond; } in getColonLocSecond()
[all …]
H A DExprObjC.h54 SourceLocation AtLoc;
57 ObjCStringLiteral(StringLiteral *SL, QualType T, SourceLocation L) in ObjCStringLiteral()
69 SourceLocation getAtLoc() const { return AtLoc; } in getAtLoc()
70 void setAtLoc(SourceLocation L) { AtLoc = L; } in setAtLoc()
72 SourceLocation getBeginLoc() const LLVM_READONLY { return AtLoc; } in getBeginLoc()
73 SourceLocation getEndLoc() const LLVM_READONLY { return String->getEndLoc(); } in getEndLoc()
90 SourceLocation Loc;
93 ObjCBoolLiteralExpr(bool val, QualType Ty, SourceLocation l) in ObjCBoolLiteralExpr()
104 SourceLocation getBeginLoc() const LLVM_READONLY { return Loc; } in getBeginLoc()
105 SourceLocation getEndLoc() const LLVM_READONLY { return Loc; } in getEndLoc()
[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()
483 SourceLocation getBeginLoc() const { return StartLoc; } in getBeginLoc()
485 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc()
491 void setLocStart(SourceLocation Loc) { StartLoc = Loc; } in setLocStart()
496 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd()
617 OMPParallelDirective(SourceLocation StartLoc, SourceLocation EndLoc) in OMPParallelDirective()
[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 DStmt.h121 SourceLocation SemiLoc;
133 SourceLocation LBraceLoc;
141 SourceLocation IdentLoc;
154 SourceLocation AttrLoc;
176 SourceLocation IfLoc;
196 SourceLocation SwitchLoc;
209 SourceLocation WhileLoc;
218 SourceLocation DoLoc;
227 SourceLocation ForLoc;
237 SourceLocation GotoLoc;
[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 DExprCXX.h95 SourceLocation OperatorLoc, FPOptionsOverride FPFeatures,
104 SourceLocation OperatorLoc, FPOptionsOverride FPFeatures,
150 SourceLocation getOperatorLoc() const { return getRParenLoc(); } in getOperatorLoc()
152 SourceLocation getExprLoc() const LLVM_READONLY { in getExprLoc()
160 SourceLocation getBeginLoc() const { return Range.getBegin(); } in getBeginLoc()
161 SourceLocation getEndLoc() const { return Range.getEnd(); } in getEndLoc()
182 ExprValueKind VK, SourceLocation RP,
190 ExprValueKind VK, SourceLocation RP,
218 SourceLocation getExprLoc() const LLVM_READONLY { in getExprLoc()
219 SourceLocation CLoc = getCallee()->getExprLoc(); in getExprLoc()
[all …]
H A DExpr.h244 SourceLocation getExprLoc() const LLVM_READONLY;
255 bool isUnusedResultAWarning(const Expr *&WarnExpr, SourceLocation &Loc,
321 isModifiableLvalue(ASTContext &Ctx, SourceLocation *Loc = nullptr) const;
412 Classification ClassifyModifiable(ASTContext &Ctx, SourceLocation &Loc) const{ in ClassifyModifiable()
455 Classification ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const;
535 SourceLocation *Loc = nullptr,
538 SourceLocation *Loc = nullptr) const;
550 SourceLocation *Loc = nullptr) const;
1078 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc()
1081 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc()
[all …]
H A DDeclObjC.h103 SourceLocation *Locations = nullptr;
110 using loc_iterator = const SourceLocation *;
116 const SourceLocation *Locs, ASTContext &Ctx);
159 SourceLocation DeclEndLoc; // the location of the ';' or '{'.
172 ObjCMethodDecl(SourceLocation beginLoc, SourceLocation endLoc,
195 SourceLocation *getStoredSelLocs() { in getStoredSelLocs()
196 return reinterpret_cast<SourceLocation *>(getParams() + NumParams); in getStoredSelLocs()
198 const SourceLocation *getStoredSelLocs() const { in getStoredSelLocs()
199 return reinterpret_cast<const SourceLocation *>(getParams() + NumParams); in getStoredSelLocs()
221 ArrayRef<SourceLocation> SelLocs);
[all …]
H A DComment.h55 SourceLocation Loc;
181 void setLocation(SourceLocation L) { in setLocation()
198 SourceLocation LocBegin, in Comment()
199 SourceLocation LocEnd) : in Comment()
216 SourceLocation getBeginLoc() const LLVM_READONLY { return Range.getBegin(); } in getBeginLoc()
218 SourceLocation getEndLoc() const LLVM_READONLY { return Range.getEnd(); } in getEndLoc()
220 SourceLocation getLocation() const LLVM_READONLY { return Loc; } in getLocation()
239 SourceLocation LocBegin, in InlineContentComment()
240 SourceLocation LocEnd) : in InlineContentComment()
265 TextComment(SourceLocation LocBegin, in TextComment()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DPPCallbacks.h47 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
122 virtual void InclusionDirective(SourceLocation HashLoc, in InclusionDirective()
142 virtual void EnteredSubmodule(Module *M, SourceLocation ImportLoc, in EnteredSubmodule()
153 virtual void LeftSubmodule(Module *M, SourceLocation ImportLoc, in LeftSubmodule()
166 virtual void moduleImport(SourceLocation ImportLoc, in moduleImport()
181 virtual void Ident(SourceLocation Loc, StringRef str) { in Ident()
185 virtual void PragmaDirective(SourceLocation Loc, in PragmaDirective()
190 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind, in PragmaComment()
196 virtual void PragmaDetectMismatch(SourceLocation Loc, StringRef Name, in PragmaDetectMismatch()
203 virtual void PragmaDebug(SourceLocation Loc, StringRef DebugType) { in PragmaDebug()
[all …]
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 …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Parse/
H A DParser.h79 SourceLocation PrevTokLocation;
333 SourceLocation LessLoc;
355 void add(Parser &P, Expr *TemplateName, SourceLocation LessLoc, in add()
406 SourceLocation ExprStatementTokLoc;
480 SourceLocation ConsumeToken() { in ConsumeToken()
498 bool TryConsumeToken(tok::TokenKind Expected, SourceLocation &Loc) { in TryConsumeToken()
508 SourceLocation ConsumeAnyToken(bool ConsumeCodeCompletionTok = false) {
526 SourceLocation getEndOfPreviousToken() { in getEndOfPreviousToken()
576 SourceLocation ConsumeAnnotationToken() { in ConsumeAnnotationToken()
578 SourceLocation Loc = Tok.getLocation(); in ConsumeAnnotationToken()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
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 …]
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXCursor.h48 CXCursor getCursor(CXTranslationUnit, SourceLocation);
62 SourceLocation Loc, CXTranslationUnit TU);
66 std::pair<const ObjCInterfaceDecl *, SourceLocation>
71 SourceLocation Loc, CXTranslationUnit TU);
75 std::pair<const ObjCProtocolDecl *, SourceLocation>
80 SourceLocation Loc, CXTranslationUnit TU);
84 std::pair<const ObjCInterfaceDecl *, SourceLocation>
88 CXCursor MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc,
93 std::pair<const TypeDecl *, SourceLocation> getCursorTypeRef(CXCursor C);
96 CXCursor MakeCursorTemplateRef(const TemplateDecl *Template, SourceLocation Loc,
[all …]
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/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 …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
H A DThreadSafety.h103 virtual void handleInvalidLockExp(StringRef Kind, SourceLocation Loc) {} in handleInvalidLockExp()
113 SourceLocation Loc, in handleUnmatchedUnlock()
114 SourceLocation LocPreviousUnlock) {} in handleUnmatchedUnlock()
128 SourceLocation LocLocked, in handleIncorrectUnlockKind()
129 SourceLocation LocUnlock) {} in handleIncorrectUnlockKind()
138 SourceLocation LocLocked, in handleDoubleLock()
139 SourceLocation LocDoubleLock) {} in handleDoubleLock()
155 SourceLocation LocLocked, in handleMutexHeldEndOfScope()
156 SourceLocation LocEndOfScope, in handleMutexHeldEndOfScope()
168 SourceLocation Loc1, in handleExclusiveAndShared()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Edit/
H A DCommit.h40 SourceLocation OrigLoc;
46 SourceLocation getFileLocation(SourceManager &SM) const;
70 bool insert(SourceLocation loc, StringRef text, bool afterToken = false,
73 bool insertAfterToken(SourceLocation loc, StringRef text,
78 bool insertBefore(SourceLocation loc, StringRef text) { in insertBefore()
83 bool insertFromRange(SourceLocation loc, CharSourceRange range,
92 bool replaceText(SourceLocation loc, StringRef text,
95 bool insertFromRange(SourceLocation loc, SourceRange TokenRange,
125 void addInsert(SourceLocation OrigLoc,
127 void addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs,
[all …]

12345678910>>...21