HomeSort by relevance Sort by last modified time
    Searched refs:SourceLocation (Results 1 - 25 of 452) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/swiftshader/src/OpenGL/compiler/preprocessor/
SourceLocation.h 21 struct SourceLocation
23 SourceLocation() : file(0), line(0) {}
24 SourceLocation(int f, int l) : file(f), line(l) {}
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)
DirectiveHandlerBase.h 23 struct SourceLocation;
34 virtual void handleError(const SourceLocation &loc, const std::string &msg) = 0;
37 virtual void handlePragma(const SourceLocation &loc,
42 virtual void handleExtension(const SourceLocation &loc,
46 virtual void handleVersion(const SourceLocation &loc, int version) = 0;
  /external/clang/include/clang/Lex/
PPConditionalDirectiveRecord.h 17 #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 LHS, const CondDirectiveLoc &RHS)
    [all...]
ScratchBuffer.h 17 #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);
ModuleLoader.h 18 #include "clang/Basic/SourceLocation.h"
30 typedef ArrayRef<std::pair<IdentifierInfo *, SourceLocation> > ModuleIdPath;
94 virtual ModuleLoadResult loadModule(SourceLocation ImportLoc,
102 SourceLocation ImportLoc) = 0;
115 SourceLocation TriggerLoc) = 0;
122 SourceLocation TriggerLoc) = 0;
  /external/clang/include/clang/AST/
SelectorLocationsKind.h 22 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);
OpenMPClause.h 22 #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 LParenLoc
    [all...]
LambdaCapture.h 52 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 {
StmtObjC.h 27 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 getLocEnd() const LLVM_READONLY
    [all...]
CommentSema.h 19 #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 ArgLocEnd
    [all...]
StmtOpenMP.h 22 #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 StartLoc, SourceLocation EndLoc
    [all...]
TypeLoc.h 121 SourceLocation getBeginLoc() const;
124 SourceLocation getEndLoc() const;
130 SourceLocation getLocStart() const LLVM_READONLY { return getBeginLoc(); }
131 SourceLocation getLocEnd() const LLVM_READONLY { return getEndLoc(); }
167 void initialize(ASTContext &Context, SourceLocation Loc) const {
200 SourceLocation findNullabilityLoc() const;
208 SourceLocation Loc);
263 void initializeLocal(ASTContext &Context, SourceLocation Loc) {
480 SourceLocation NameLoc;
493 SourceLocation getNameLoc() const
    [all...]
CommentBriefParser.h 38 SourceLocation ConsumeToken() {
39 SourceLocation Loc = Tok.getLocation();
  /external/clang/lib/AST/
SelectorLocationsKind.cpp 20 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 getArgLoc(unsigned Index, ArrayRef<T*> Args)
    [all...]
  /external/clang/include/clang/Analysis/Analyses/
ThreadSafety.h 23 #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 LocEndOfScope
    [all...]
  /external/clang/include/clang/Basic/
SourceLocation.h 1 //===--- 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 {
98 SourceLocation() : ID(0) {}
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 L
    [all...]
PrettyStackTrace.h 20 #include "clang/Basic/SourceLocation.h"
29 SourceLocation Loc;
32 PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg)
SourceManager.h 40 #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::getFromRawEncoding(SpellingLoc)
    [all...]
  /external/clang/tools/libclang/
CXSourceLocation.h 20 #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/
Weak.h 18 #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; }
  /external/clang/lib/Lex/
PPConditionalDirectiveRecord.cpp 21 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 Loc
    [all...]
  /external/clang/include/clang/Edit/
EditsReceiver.h 16 class SourceLocation;
25 virtual void insert(SourceLocation loc, StringRef text) = 0;
Commit.h 36 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 OrigLoc, FileOffset Offs
    [all...]
  /external/compiler-rt/lib/ubsan/
ubsan_handlers.h 21 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 Loc
    [all...]
  /external/clang/include/clang/Frontend/
DiagnosticRenderer.h 21 #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 Loc, PresumedLoc PLoc
    [all...]

Completed in 350 milliseconds

1 2 3 4 5 6 7 8 91011>>