Searched refs:SourceLocation (Results 1 - 25 of 431) sorted by relevance

1234567891011>>

/external/swiftshader/src/OpenGL/compiler/preprocessor/
H A DSourceLocation.h21 struct SourceLocation struct in namespace:pp
23 SourceLocation() : file(0), line(0) { } function in struct:pp::SourceLocation
24 SourceLocation(int f, int l) : file(f), line(l) { } function in struct:pp::SourceLocation
26 bool equals(const SourceLocation& other) const
35 inline bool operator==(const SourceLocation& lhs, const SourceLocation& rhs)
40 inline bool operator!=(const SourceLocation& lhs, const SourceLocation& rhs)
H A DDirectiveHandler.h23 struct SourceLocation;
34 virtual void handleError(const SourceLocation& loc,
38 virtual void handlePragma(const SourceLocation& loc,
42 virtual void handleExtension(const SourceLocation& loc,
46 virtual void handleVersion(const SourceLocation& loc,
/external/clang/include/clang/Lex/
H A DPPConditionalDirectiveRecord.h17 #include "clang/Basic/SourceLocation.h"
29 SmallVector<SourceLocation, 6> CondDirectiveStack;
32 SourceLocation Loc;
33 SourceLocation RegionLoc;
36 CondDirectiveLoc(SourceLocation Loc, SourceLocation RegionLoc)
39 SourceLocation getLoc() const { return Loc; }
40 SourceLocation getRegionLoc() const { return RegionLoc; }
50 bool operator()(const CondDirectiveLoc &LHS, SourceLocation RHS) {
53 bool operator()(SourceLocation LH
[all...]
H A DScratchBuffer.h17 #include "clang/Basic/SourceLocation.h"
28 SourceLocation BufferStartLoc;
34 /// return a SourceLocation that refers to the token. This is just like the
37 SourceLocation getToken(const char *Buf, unsigned Len, const char *&DestPtr);
H A DPPCallbacks.h19 #include "clang/Basic/SourceLocation.h"
27 class SourceLocation;
50 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
122 virtual void InclusionDirective(SourceLocation HashLoc,
143 virtual void moduleImport(SourceLocation ImportLoc,
158 virtual void Ident(SourceLocation Loc, StringRef str) {
162 virtual void PragmaDirective(SourceLocation Loc,
167 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind,
173 virtual void PragmaDetectMismatch(SourceLocation Loc, StringRef Name,
180 virtual void PragmaDebug(SourceLocation Lo
[all...]
/external/clang/include/clang/AST/
H A DSelectorLocationsKind.h22 class SourceLocation;
47 ArrayRef<SourceLocation> SelLocs,
49 SourceLocation EndLoc);
57 SourceLocation getStandardSelectorLoc(unsigned Index,
61 SourceLocation EndLoc);
65 ArrayRef<SourceLocation> SelLocs,
67 SourceLocation EndLoc);
75 SourceLocation getStandardSelectorLoc(unsigned Index,
79 SourceLocation EndLoc);
H A DCommentSema.h19 #include "clang/Basic/SourceLocation.h"
64 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) {
90 BlockCommandComment *actOnBlockCommandStart(SourceLocation LocBegin,
91 SourceLocation LocEnd,
101 ParamCommandComment *actOnParamCommandStart(SourceLocation LocBegin,
102 SourceLocation LocEnd,
107 SourceLocation ArgLocBegin,
108 SourceLocation ArgLocEnd,
112 SourceLocation ArgLocBegin,
113 SourceLocation ArgLocEn
[all...]
H A DStmtOpenMP.h22 #include "clang/Basic/SourceLocation.h"
38 SourceLocation StartLoc;
40 SourceLocation EndLoc;
68 SourceLocation StartLoc, SourceLocation EndLoc,
168 SourceLocation getLocStart() const { return StartLoc; }
170 SourceLocation getLocEnd() const { return EndLoc; }
176 void setLocStart(SourceLocation Loc) { StartLoc = Loc; }
181 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; }
241 OMPParallelDirective(SourceLocation StartLo
[all...]
H A DOpenMPClause.h22 #include "clang/Basic/SourceLocation.h"
34 SourceLocation StartLoc;
36 SourceLocation EndLoc;
41 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc)
46 SourceLocation getLocStart() const { return StartLoc; }
48 SourceLocation getLocEnd() const { return EndLoc; }
51 void setLocStart(SourceLocation Loc) { StartLoc = Loc; }
53 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; }
124 SourceLocation LParenLo
[all...]
H A DStmtObjC.h27 SourceLocation ForLoc;
28 SourceLocation RParenLoc;
31 SourceLocation FCL, SourceLocation RPL);
53 SourceLocation getForLoc() const { return ForLoc; }
54 void setForLoc(SourceLocation Loc) { ForLoc = Loc; }
55 SourceLocation getRParenLoc() const { return RParenLoc; }
56 void setRParenLoc(SourceLocation Loc) { RParenLoc = Loc; }
58 SourceLocation getLocStart() const LLVM_READONLY { return ForLoc; }
59 SourceLocation getLocEn
[all...]
H A DLambdaCapture.h52 SourceLocation Loc;
53 SourceLocation EllipsisLoc;
74 LambdaCapture(SourceLocation Loc, bool Implicit, LambdaCaptureKind Kind,
76 SourceLocation EllipsisLoc = SourceLocation());
126 SourceLocation getLocation() const { return Loc; }
134 SourceLocation getEllipsisLoc() const {
/external/clang/lib/AST/
H A DSelectorLocationsKind.cpp20 static SourceLocation getStandardSelLoc(unsigned Index,
23 SourceLocation ArgLoc,
24 SourceLocation EndLoc) {
29 return SourceLocation();
37 return SourceLocation();
48 SourceLocation getArgLoc(T* Arg);
51 SourceLocation getArgLoc<Expr>(Expr *Arg) {
56 SourceLocation getArgLoc<ParmVarDecl>(ParmVarDecl *Arg) {
57 SourceLocation Loc = Arg->getLocStart();
65 SourceLocation getArgLo
[all...]
/external/clang/include/clang/Basic/
H A DSourceLocation.h1 //===--- SourceLocation.h - Compact identifier for Source Files -*- C++ -*-===//
11 /// \brief Defines the clang::SourceLocation class and associated facilities.
84 /// In addition, one bit of SourceLocation is used for quick access to the
88 class SourceLocation { class in namespace:clang
98 SourceLocation() : ID(0) {} function
103 /// \brief Return true if this is a valid SourceLocation object.
117 static SourceLocation getFileLoc(unsigned ID) {
119 SourceLocation L;
124 static SourceLocation getMacroLoc(unsigned ID) {
126 SourceLocation
[all...]
H A DPrettyStackTrace.h20 #include "clang/Basic/SourceLocation.h"
29 SourceLocation Loc;
32 PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg)
H A DSourceManager.h40 #include "clang/Basic/SourceLocation.h"
178 SourceLocation Loc = SourceLocation(),
246 unsigned IncludeLoc; // Really a SourceLocation
264 static FileInfo get(SourceLocation IL, const ContentCache *Con,
276 SourceLocation getIncludeLoc() const {
277 return SourceLocation::getFromRawEncoding(IncludeLoc);
311 /// macro-argument instantiations, the end will be 'SourceLocation()', an
316 SourceLocation getSpellingLoc() const {
317 return SourceLocation
792 createFileID(std::unique_ptr<llvm::MemoryBuffer> Buffer, SrcMgr::CharacteristicKind FileCharacter = SrcMgr::C_User, int LoadedID = 0, unsigned LoadedOffset = 0, SourceLocation IncludeLoc = SourceLocation()) argument
[all...]
/external/clang/tools/libclang/
H A DCXSourceLocation.h20 #include "clang/Basic/SourceLocation.h"
31 SourceLocation Loc) {
42 SourceLocation Loc) {
66 static inline SourceLocation translateSourceLocation(CXSourceLocation L) {
67 return SourceLocation::getFromRawEncoding(L.int_data);
71 return SourceRange(SourceLocation::getFromRawEncoding(R.begin_int_data),
72 SourceLocation::getFromRawEncoding(R.end_int_data));
/external/clang/include/clang/Sema/
H A DWeak.h18 #include "clang/Basic/SourceLocation.h"
27 SourceLocation loc; // for diagnostics
31 : alias(nullptr), loc(SourceLocation()), used(false) {}
32 WeakInfo(IdentifierInfo *Alias, SourceLocation Loc)
35 inline SourceLocation getLocation() const { return loc; }
H A DSema.h130 typedef ArrayRef<std::pair<IdentifierInfo *, SourceLocation>> ModuleIdPath;
215 SourceLocation> UnexpandedParameterPack;
222 SourceLocation PointerLoc;
330 SourceLocation ImplicitMSInheritanceAttrLoc;
347 SourceLocation PragmaLocation;
350 SourceLocation PragmaLocation)
354 void Act(SourceLocation PragmaLocation,
386 SourceLocation CurrentPragmaLocation;
428 SourceLocation CurInitSegLoc;
436 SourceLocation OptimizeOffPragmaLocatio
[all...]
H A DDesignator.h18 #include "clang/Basic/SourceLocation.h"
79 SourceLocation getDotLoc() const {
81 return SourceLocation::getFromRawEncoding(FieldInfo.DotLoc);
84 SourceLocation getFieldLoc() const {
86 return SourceLocation::getFromRawEncoding(FieldInfo.NameLoc);
103 SourceLocation getLBracketLoc() const {
107 return SourceLocation::getFromRawEncoding(ArrayInfo.LBracketLoc);
109 return SourceLocation::getFromRawEncoding(ArrayRangeInfo.LBracketLoc);
112 SourceLocation getRBracketLoc() const {
116 return SourceLocation
[all...]
/external/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp21 CondDirectiveStack.push_back(SourceLocation());
41 SourceLocation uppRegion;
48 SourceLocation PPConditionalDirectiveRecord::findConditionalDirectiveRegionLoc(
49 SourceLocation Loc) const {
51 return SourceLocation();
53 return SourceLocation();
78 void PPConditionalDirectiveRecord::If(SourceLocation Loc,
85 void PPConditionalDirectiveRecord::Ifdef(SourceLocation Loc,
92 void PPConditionalDirectiveRecord::Ifndef(SourceLocation Loc,
99 void PPConditionalDirectiveRecord::Elif(SourceLocation Lo
[all...]
/external/clang/include/clang/Edit/
H A DEditsReceiver.h16 class SourceLocation;
25 virtual void insert(SourceLocation loc, StringRef text) = 0;
H A DCommit.h36 SourceLocation OrigLoc;
42 SourceLocation getFileLocation(SourceManager &SM) const;
67 bool insert(SourceLocation loc, StringRef text, bool afterToken = false,
69 bool insertAfterToken(SourceLocation loc, StringRef text,
73 bool insertBefore(SourceLocation loc, StringRef text) {
77 bool insertFromRange(SourceLocation loc, CharSourceRange range,
86 bool replaceText(SourceLocation loc, StringRef text,
89 bool insertFromRange(SourceLocation loc, SourceRange TokenRange,
114 void addInsert(SourceLocation OrigLoc,
116 void addInsertFromRange(SourceLocation OrigLo
[all...]
/external/clang/include/clang/Analysis/Analyses/
H A DThreadSafety.h23 #include "clang/Basic/SourceLocation.h"
81 /// \param Loc -- the SourceLocation of the unresolved expression.
82 virtual void handleInvalidLockExp(StringRef Kind, SourceLocation Loc) {}
89 /// \param Loc -- The SourceLocation of the Unlock
91 SourceLocation Loc) {}
101 /// \param Loc -- The SourceLocation of the Unlock.
104 SourceLocation Loc) {}
112 SourceLocation Loc) {}
128 SourceLocation LocLocked,
129 SourceLocation LocEndOfScop
[all...]
/external/compiler-rt/lib/ubsan/
H A Dubsan_handlers.h21 SourceLocation Loc;
43 SourceLocation Loc;
64 SourceLocation Loc;
75 SourceLocation Loc;
84 SourceLocation Loc;
93 SourceLocation Loc;
108 SourceLocation Loc;
118 SourceLocation Loc;
126 SourceLocation Loc;
135 SourceLocation Lo
[all...]
/external/clang/include/clang/Frontend/
H A DDiagnosticRenderer.h21 #include "clang/Basic/SourceLocation.h"
56 SourceLocation LastLoc;
62 SourceLocation LastIncludeLoc;
75 virtual void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc,
82 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc,
87 virtual void emitCodeContext(SourceLocation Loc,
93 virtual void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc,
95 virtual void emitImportLocation(SourceLocation Loc, PresumedLoc PLoc,
98 virtual void emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc,
110 void emitIncludeStack(SourceLocation Lo
[all...]

Completed in 543 milliseconds

1234567891011>>