Home
last modified time | relevance | path

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

12345678910>>...13

/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/AST/
DStmtOpenMP.h33 SourceLocation StartLoc;
35 SourceLocation EndLoc;
39 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) in OMPClause()
45 SourceLocation getLocStart() const { return StartLoc; } in getLocStart()
47 SourceLocation getLocEnd() const { return EndLoc; } in getLocEnd()
50 void setLocStart(SourceLocation Loc) { StartLoc = Loc; } in setLocStart()
52 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd()
75 SourceLocation LParenLoc;
98 OMPVarList(SourceLocation LParenLoc, unsigned N) in OMPVarList()
112 void setLParenLoc(SourceLocation Loc) { LParenLoc = Loc; } in setLParenLoc()
[all …]
DExprObjC.h31 SourceLocation AtLoc;
33 ObjCStringLiteral(StringLiteral *SL, QualType T, SourceLocation L) in ObjCStringLiteral()
44 SourceLocation getAtLoc() const { return AtLoc; } in getAtLoc()
45 void setAtLoc(SourceLocation L) { AtLoc = L; } in setAtLoc()
47 SourceLocation getLocStart() const LLVM_READONLY { return AtLoc; } in getLocStart()
48 SourceLocation getLocEnd() const LLVM_READONLY { return String->getLocEnd(); } in getLocEnd()
62 SourceLocation Loc;
64 ObjCBoolLiteralExpr(bool val, QualType Ty, SourceLocation l) : in ObjCBoolLiteralExpr()
74 SourceLocation getLocStart() const LLVM_READONLY { return Loc; } in getLocStart()
75 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd()
[all …]
DCommentSema.h64 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { in Diag()
94 BlockCommandComment *actOnBlockCommandStart(SourceLocation LocBegin,
95 SourceLocation LocEnd,
105 ParamCommandComment *actOnParamCommandStart(SourceLocation LocBegin,
106 SourceLocation LocEnd,
111 SourceLocation ArgLocBegin,
112 SourceLocation ArgLocEnd,
116 SourceLocation ArgLocBegin,
117 SourceLocation ArgLocEnd,
123 TParamCommandComment *actOnTParamCommandStart(SourceLocation LocBegin,
[all …]
DTypeLoc.h121 SourceLocation getBeginLoc() const;
124 SourceLocation getEndLoc() const;
130 SourceLocation getLocStart() const LLVM_READONLY { return getBeginLoc(); } in getLocStart()
131 SourceLocation getLocEnd() const LLVM_READONLY { return getEndLoc(); } in getLocEnd()
159 void initialize(ASTContext &Context, SourceLocation Loc) const { in initialize()
194 SourceLocation Loc);
248 void initializeLocal(ASTContext &Context, SourceLocation Loc) { in initializeLocal()
447 SourceLocation NameLoc;
460 SourceLocation getNameLoc() const { in getNameLoc()
463 void setNameLoc(SourceLocation Loc) { in setNameLoc()
[all …]
DStmt.h364 SourceLocation getLocStart() const LLVM_READONLY;
365 SourceLocation getLocEnd() const LLVM_READONLY;
445 SourceLocation StartLoc, EndLoc;
448 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, in DeclStmt()
449 SourceLocation endLoc) : Stmt(DeclStmtClass), DG(dg), in DeclStmt()
468 SourceLocation getStartLoc() const { return StartLoc; } in getStartLoc()
469 void setStartLoc(SourceLocation L) { StartLoc = L; } in setStartLoc()
470 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc()
471 void setEndLoc(SourceLocation L) { EndLoc = L; } in setEndLoc()
473 SourceLocation getLocStart() const LLVM_READONLY { return StartLoc; } in getLocStart()
[all …]
DExprCXX.h68 SourceLocation operatorloc, bool fpContractable) in CXXOperatorCallExpr()
87 SourceLocation getOperatorLoc() const { return getRParenLoc(); } in getOperatorLoc()
89 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); } in getLocStart()
90 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd()
120 QualType t, ExprValueKind VK, SourceLocation RP) in CXXMemberCallExpr()
155 SourceLocation RP) in CUDAKernelCallExpr()
182 SourceLocation Loc; // the location of the casting op
183 SourceLocation RParenLoc; // the location of the right parenthesis
189 TypeSourceInfo *writtenTy, SourceLocation l, in CXXNamedCastExpr()
190 SourceLocation RParenLoc, in CXXNamedCastExpr()
[all …]
DStmtObjC.h27 SourceLocation ForLoc;
28 SourceLocation RParenLoc;
31 SourceLocation FCL, SourceLocation RPL);
53 SourceLocation getForLoc() const { return ForLoc; } in getForLoc()
54 void setForLoc(SourceLocation Loc) { ForLoc = Loc; } in setForLoc()
55 SourceLocation getRParenLoc() const { return RParenLoc; } in getRParenLoc()
56 void setRParenLoc(SourceLocation Loc) { RParenLoc = Loc; } in setRParenLoc()
58 SourceLocation getLocStart() const LLVM_READONLY { return ForLoc; } in getLocStart()
59 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd()
78 SourceLocation AtCatchLoc, RParenLoc;
[all …]
DExpr.h227 SourceLocation getExprLoc() const LLVM_READONLY;
233 bool isUnusedResultAWarning(const Expr *&WarnExpr, SourceLocation &Loc,
297 SourceLocation *Loc = 0) const;
386 Classification ClassifyModifiable(ASTContext &Ctx, SourceLocation &Loc) const{ in ClassifyModifiable()
425 Classification ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const;
486 SourceLocation *Loc = 0,
489 SourceLocation *Loc = 0) const;
501 SourceLocation *Loc = 0) const;
791 SourceLocation Loc;
794 OpaqueValueExpr(SourceLocation Loc, QualType T, ExprValueKind VK,
[all …]
DDeclObjC.h77 SourceLocation *Locations;
84 typedef const SourceLocation *loc_iterator;
89 const SourceLocation *Locs, ASTContext &Ctx);
177 SourceLocation DeclEndLoc; // the location of the ';' or '{'.
198 SourceLocation *getStoredSelLocs() { in getStoredSelLocs()
199 return reinterpret_cast<SourceLocation*>(getParams() + NumParams); in getStoredSelLocs()
201 const SourceLocation *getStoredSelLocs() const { in getStoredSelLocs()
202 return reinterpret_cast<const SourceLocation*>(getParams() + NumParams); in getStoredSelLocs()
224 ArrayRef<SourceLocation> SelLocs);
226 ObjCMethodDecl(SourceLocation beginLoc, SourceLocation endLoc,
[all …]
DStmtCXX.h30 SourceLocation CatchLoc;
37 CXXCatchStmt(SourceLocation catchLoc, VarDecl *exDecl, Stmt *handlerBlock) in CXXCatchStmt()
44 SourceLocation getLocStart() const LLVM_READONLY { return CatchLoc; } in getLocStart()
45 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd()
49 SourceLocation getCatchLoc() const { return CatchLoc; } in getCatchLoc()
66 SourceLocation TryLoc;
69 CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock, ArrayRef<Stmt*> handlers);
82 static CXXTryStmt *Create(const ASTContext &C, SourceLocation tryLoc,
88 SourceLocation getLocStart() const LLVM_READONLY { return getTryLoc(); } in getLocStart()
89 SourceLocation getLocEnd() const LLVM_READONLY { return getEndLoc(); } in getLocEnd()
[all …]
DDeclCXX.h105 SourceLocation ColonLoc;
108 SourceLocation ASLoc, SourceLocation ColonLoc) in AccessSpecDecl()
116 SourceLocation getAccessSpecifierLoc() const { return getLocation(); } in getAccessSpecifierLoc()
118 void setAccessSpecifierLoc(SourceLocation ASLoc) { setLocation(ASLoc); } in setAccessSpecifierLoc()
121 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
123 void setColonLoc(SourceLocation CLoc) { ColonLoc = CLoc; } in setColonLoc()
130 DeclContext *DC, SourceLocation ASLoc, in Create()
131 SourceLocation ColonLoc) { in Create()
166 SourceLocation EllipsisLoc;
197 TypeSourceInfo *TInfo, SourceLocation EllipsisLoc) in CXXBaseSpecifier()
[all …]
DComment.h56 SourceLocation Loc;
168 void setLocation(SourceLocation L) { in setLocation()
185 SourceLocation LocBegin, in Comment()
186 SourceLocation LocEnd) : in Comment()
205 SourceLocation getLocStart() const LLVM_READONLY { in getLocStart()
209 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd()
213 SourceLocation getLocation() const LLVM_READONLY { return Loc; } in getLocation()
232 SourceLocation LocBegin, in InlineContentComment()
233 SourceLocation LocEnd) : in InlineContentComment()
258 TextComment(SourceLocation LocBegin, in TextComment()
[all …]
DDeclTemplate.h48 SourceLocation TemplateLoc;
51 SourceLocation LAngleLoc, RAngleLoc;
62 TemplateParameterList(SourceLocation TemplateLoc, SourceLocation LAngleLoc,
64 SourceLocation RAngleLoc);
68 SourceLocation TemplateLoc,
69 SourceLocation LAngleLoc,
72 SourceLocation RAngleLoc);
126 SourceLocation getTemplateLoc() const { return TemplateLoc; } in getTemplateLoc()
127 SourceLocation getLAngleLoc() const { return LAngleLoc; } in getLAngleLoc()
128 SourceLocation getRAngleLoc() const { return RAngleLoc; } in getRAngleLoc()
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Sema/
DSema.h201 SourceLocation> UnexpandedParameterPack;
789 llvm::DenseMap<ParmVarDecl *, SourceLocation> UnparsedDefaultArgLocs;
793 llvm::DenseMap<NamedDecl *, SourceLocation> UndefinedButUsed;
797 SmallVectorImpl<std::pair<NamedDecl *, SourceLocation> > &Undefined);
812 llvm::DenseMap<Selector, SourceLocation> ReferencedSelectors;
939 SemaDiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { in Diag()
945 SemaDiagnosticBuilder Diag(SourceLocation Loc, const PartialDiagnostic& PD);
950 bool findMacroSpelling(SourceLocation &loc, StringRef name);
954 getFixItZeroInitializerForType(QualType T, SourceLocation Loc) const;
955 std::string getFixItZeroLiteralForType(QualType T, SourceLocation Loc) const;
[all …]
DDeclSpec.h73 void setBeginLoc(SourceLocation Loc) { Range.setBegin(Loc); } in setBeginLoc()
74 void setEndLoc(SourceLocation Loc) { Range.setEnd(Loc); } in setEndLoc()
75 SourceLocation getBeginLoc() const { return Range.getBegin(); } in getBeginLoc()
76 SourceLocation getEndLoc() const { return Range.getEnd(); } in getEndLoc()
94 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
95 SourceLocation ColonColonLoc);
109 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc);
123 SourceLocation NamespaceLoc, SourceLocation ColonColonLoc);
138 SourceLocation AliasLoc, SourceLocation ColonColonLoc);
142 void MakeGlobal(ASTContext &Context, SourceLocation ColonColonLoc);
[all …]
DDesignator.h79 SourceLocation getDotLoc() const { in getDotLoc()
81 return SourceLocation::getFromRawEncoding(FieldInfo.DotLoc); in getDotLoc()
84 SourceLocation getFieldLoc() const { in getFieldLoc()
86 return SourceLocation::getFromRawEncoding(FieldInfo.NameLoc); in getFieldLoc()
103 SourceLocation getLBracketLoc() const { in getLBracketLoc()
107 return SourceLocation::getFromRawEncoding(ArrayInfo.LBracketLoc); in getLBracketLoc()
109 return SourceLocation::getFromRawEncoding(ArrayRangeInfo.LBracketLoc); in getLBracketLoc()
112 SourceLocation getRBracketLoc() const { in getRBracketLoc()
116 return SourceLocation::getFromRawEncoding(ArrayInfo.RBracketLoc); in getRBracketLoc()
118 return SourceLocation::getFromRawEncoding(ArrayRangeInfo.RBracketLoc); in getRBracketLoc()
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Basic/
DSourceLocation.h87 class SourceLocation {
97 SourceLocation() : ID(0) {} in SourceLocation() function
116 static SourceLocation getFileLoc(unsigned ID) { in getFileLoc()
118 SourceLocation L; in getFileLoc()
123 static SourceLocation getMacroLoc(unsigned ID) { in getMacroLoc()
125 SourceLocation L; in getMacroLoc()
133 SourceLocation getLocWithOffset(int Offset) const { in getLocWithOffset()
135 SourceLocation L; in getLocWithOffset()
151 static SourceLocation getFromRawEncoding(unsigned Encoding) { in getFromRawEncoding()
152 SourceLocation X; in getFromRawEncoding()
[all …]
DSourceManager.h175 SourceLocation Loc = SourceLocation(),
258 static FileInfo get(SourceLocation IL, const ContentCache *Con, in get()
270 SourceLocation getIncludeLoc() const { in getIncludeLoc()
271 return SourceLocation::getFromRawEncoding(IncludeLoc); in getIncludeLoc()
310 SourceLocation getSpellingLoc() const { in getSpellingLoc()
311 return SourceLocation::getFromRawEncoding(SpellingLoc); in getSpellingLoc()
313 SourceLocation getExpansionLocStart() const { in getExpansionLocStart()
314 return SourceLocation::getFromRawEncoding(ExpansionLocStart); in getExpansionLocStart()
316 SourceLocation getExpansionLocEnd() const { in getExpansionLocEnd()
317 SourceLocation EndLoc = in getExpansionLocEnd()
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Lex/
DPPConditionalDirectiveRecord.h29 SmallVector<SourceLocation, 6> CondDirectiveStack;
32 SourceLocation Loc;
33 SourceLocation RegionLoc;
36 CondDirectiveLoc(SourceLocation Loc, SourceLocation RegionLoc) in CondDirectiveLoc()
39 SourceLocation getLoc() const { return Loc; } in getLoc()
40 SourceLocation getRegionLoc() const { return RegionLoc; } in getRegionLoc()
50 bool operator()(const CondDirectiveLoc &LHS, SourceLocation RHS) { in operator()
53 bool operator()(SourceLocation LHS, const CondDirectiveLoc &RHS) { in operator()
80 bool areInDifferentConditionalDirectiveRegion(SourceLocation LHS, in areInDifferentConditionalDirectiveRegion()
81 SourceLocation RHS) const { in areInDifferentConditionalDirectiveRegion()
[all …]
DPPCallbacks.h27 class SourceLocation; variable
49 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
120 virtual void InclusionDirective(SourceLocation HashLoc, in InclusionDirective()
141 virtual void moduleImport(SourceLocation ImportLoc, in moduleImport()
156 virtual void Ident(SourceLocation Loc, const std::string &str) { in Ident()
160 virtual void PragmaDirective(SourceLocation Loc, in PragmaDirective()
165 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind, in PragmaComment()
171 virtual void PragmaDetectMismatch(SourceLocation Loc, in PragmaDetectMismatch()
179 virtual void PragmaDebug(SourceLocation Loc, StringRef DebugType) { in PragmaDebug()
199 virtual void PragmaMessage(SourceLocation Loc, StringRef Namespace, in PragmaMessage()
[all …]
DLexer.h53 SourceLocation FileLoc; // Location for start of file.
108 Lexer(SourceLocation FileLoc, const LangOptions &LangOpts,
120 static Lexer *Create_PragmaLexer(SourceLocation SpellingLoc,
121 SourceLocation ExpansionLocStart,
122 SourceLocation ExpansionLocEnd,
134 SourceLocation getFileLoc() const { return FileLoc; } in getFileLoc()
217 SourceLocation getSourceLocation(const char *Loc, unsigned TokLen = 1) const;
221 SourceLocation getSourceLocation() { return getSourceLocation(BufferPtr); } in getSourceLocation()
269 static StringRef getSpelling(SourceLocation loc,
279 static unsigned MeasureTokenLength(SourceLocation Loc,
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Parse/
DParser.h73 SourceLocation PrevTokLocation;
274 SourceLocation ConsumeToken(bool ConsumeCodeCompletionTok = false) {
318 SourceLocation ConsumeAnyToken(bool ConsumeCodeCompletionTok = false) {
333 SourceLocation ConsumeParen() { in ConsumeParen()
346 SourceLocation ConsumeBracket() { in ConsumeBracket()
360 SourceLocation ConsumeBrace() { in ConsumeBrace()
376 SourceLocation ConsumeStringToken() { in ConsumeStringToken()
388 SourceLocation ConsumeCodeCompletionToken() { in ConsumeCodeCompletionToken()
400 SourceLocation handleUnexpectedCodeCompletionToken();
532 bool TryAltiVecToken(DeclSpec &DS, SourceLocation Loc, in TryAltiVecToken()
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/lib/AST/
DSelectorLocationsKind.cpp20 static SourceLocation getStandardSelLoc(unsigned Index, in getStandardSelLoc()
23 SourceLocation ArgLoc, in getStandardSelLoc()
24 SourceLocation EndLoc) { in getStandardSelLoc()
29 return SourceLocation(); in getStandardSelLoc()
37 return SourceLocation(); in getStandardSelLoc()
48 SourceLocation getArgLoc(T* Arg);
51 SourceLocation getArgLoc<Expr>(Expr *Arg) { in getArgLoc()
56 SourceLocation getArgLoc<ParmVarDecl>(ParmVarDecl *Arg) { in getArgLoc()
57 SourceLocation Loc = Arg->getLocStart(); in getArgLoc()
65 SourceLocation getArgLoc(unsigned Index, ArrayRef<T*> Args) { in getArgLoc()
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Edit/
DCommit.h36 SourceLocation OrigLoc;
42 SourceLocation getFileLocation(SourceManager &SM) const;
68 bool insert(SourceLocation loc, StringRef text, bool afterToken = false,
70 bool insertAfterToken(SourceLocation loc, StringRef text,
74 bool insertBefore(SourceLocation loc, StringRef text) { in insertBefore()
78 bool insertFromRange(SourceLocation loc, CharSourceRange range,
87 bool replaceText(SourceLocation loc, StringRef text,
90 bool insertFromRange(SourceLocation loc, SourceRange TokenRange,
115 void addInsert(SourceLocation OrigLoc,
117 void addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs,
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Frontend/
DDiagnosticRenderer.h56 SourceLocation LastLoc;
62 SourceLocation LastIncludeLoc;
75 virtual void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc,
82 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc,
89 virtual void emitCodeContext(SourceLocation Loc,
95 virtual void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc,
97 virtual void emitImportLocation(SourceLocation Loc, PresumedLoc PLoc,
100 virtual void emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc,
111 void emitIncludeStack(SourceLocation Loc, PresumedLoc PLoc,
113 void emitIncludeStackRecursively(SourceLocation Loc, const SourceManager &SM);
[all …]

12345678910>>...13