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

1234567891011>>

/external/chromium_org/third_party/angle/src/compiler/preprocessor/
H A DSourceLocation.h13 struct SourceLocation struct in namespace:pp
15 SourceLocation() function in struct:pp::SourceLocation
20 SourceLocation(int f, int 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 DDirectiveHandlerBase.h15 struct SourceLocation;
26 virtual void handleError(const SourceLocation &loc,
30 virtual void handlePragma(const SourceLocation &loc,
34 virtual void handleExtension(const SourceLocation &loc,
38 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;
49 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
120 virtual void InclusionDirective(SourceLocation HashLoc,
141 virtual void moduleImport(SourceLocation ImportLoc,
156 virtual void Ident(SourceLocation Loc, const std::string &str) {
160 virtual void PragmaDirective(SourceLocation Loc,
165 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind,
171 virtual void PragmaDetectMismatch(SourceLocation Loc,
179 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 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; }
73 SourceLocation LParenLo
[all...]
H A DLambdaCapture.h40 SourceLocation Loc;
41 SourceLocation EllipsisLoc;
62 LambdaCapture(SourceLocation Loc, bool Implicit, LambdaCaptureKind Kind,
64 SourceLocation EllipsisLoc = SourceLocation());
107 SourceLocation getLocation() const { return Loc; }
115 SourceLocation getEllipsisLoc() const {
H A DCommentSema.h19 #include "clang/Basic/SourceLocation.h"
64 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) {
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 ArgLocEn
[all...]
H A DStmtOpenMP.h22 #include "clang/Basic/SourceLocation.h"
38 SourceLocation StartLoc;
40 SourceLocation EndLoc;
68 SourceLocation StartLoc, SourceLocation EndLoc,
129 SourceLocation getLocStart() const { return StartLoc; }
131 SourceLocation getLocEnd() const { return EndLoc; }
137 void setLocStart(SourceLocation Loc) { StartLoc = Loc; }
142 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; }
190 OMPParallelDirective(SourceLocation StartLo
[all...]
H A DStmtCXX.h30 SourceLocation CatchLoc;
37 CXXCatchStmt(SourceLocation catchLoc, VarDecl *exDecl, Stmt *handlerBlock)
44 SourceLocation getLocStart() const LLVM_READONLY { return CatchLoc; }
45 SourceLocation getLocEnd() const LLVM_READONLY {
49 SourceLocation getCatchLoc() const { return CatchLoc; }
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(); }
89 SourceLocation getLocEn
[all...]
H A DTypeLoc.h121 SourceLocation getBeginLoc() const;
124 SourceLocation getEndLoc() const;
130 SourceLocation getLocStart() const LLVM_READONLY { return getBeginLoc(); }
131 SourceLocation getLocEnd() const LLVM_READONLY { return getEndLoc(); }
159 void initialize(ASTContext &Context, SourceLocation Loc) const {
194 SourceLocation Loc);
248 void initializeLocal(ASTContext &Context, SourceLocation Loc) {
447 SourceLocation NameLoc;
460 SourceLocation getNameLoc() const {
463 void setNameLoc(SourceLocation Lo
[all...]
/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.
83 /// In addition, one bit of SourceLocation is used for quick access to the
87 class SourceLocation { class in namespace:clang
97 SourceLocation() : ID(0) {} function
102 /// \brief Return true if this is a valid SourceLocation object.
116 static SourceLocation getFileLoc(unsigned ID) {
118 SourceLocation L;
123 static SourceLocation getMacroLoc(unsigned ID) {
125 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"
187 SourceLocation Loc = SourceLocation(),
255 unsigned IncludeLoc; // Really a SourceLocation
273 static FileInfo get(SourceLocation IL, const ContentCache *Con,
285 SourceLocation getIncludeLoc() const {
286 return SourceLocation::getFromRawEncoding(IncludeLoc);
320 /// macro-argument instantiations, the end will be 'SourceLocation()', an
325 SourceLocation getSpellingLoc() const {
326 return SourceLocation
791 createFileID(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/chromium_org/third_party/angle/tests/preprocessor_tests/
H A DMockDirectiveHandler.h17 void(const pp::SourceLocation& loc, const std::string& msg));
20 void(const pp::SourceLocation& loc,
25 void(const pp::SourceLocation& loc,
30 void(const pp::SourceLocation& loc, int version));
/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.h128 typedef ArrayRef<std::pair<IdentifierInfo *, SourceLocation>> ModuleIdPath;
205 SourceLocation> UnexpandedParameterPack;
302 SourceLocation ImplicitMSInheritanceAttrLoc;
309 SourceLocation PragmaLocation;
312 SourceLocation PragmaLocation)
316 void Act(SourceLocation PragmaLocation,
324 SourceLocation CurrentPragmaLocation;
339 SourceLocation OptimizeOffPragmaLocation;
863 llvm::DenseMap<ParmVarDecl *, SourceLocation> UnparsedDefaultArgLocs;
867 llvm::DenseMap<NamedDecl *, SourceLocation> UndefinedButUse
[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/Analysis/Analyses/
H A DThreadSafety.h23 #include "clang/Basic/SourceLocation.h"
77 /// \param Loc -- the SourceLocation of the unresolved expression.
78 virtual void handleInvalidLockExp(StringRef Kind, SourceLocation Loc) {}
85 /// \param Loc -- The SourceLocation of the Unlock
87 SourceLocation Loc) {}
97 /// \param Loc -- The SourceLocation of the Unlock.
100 SourceLocation Loc) {}
108 SourceLocation Loc) {}
124 SourceLocation LocLocked,
125 SourceLocation LocEndOfScop
[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/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 1024 milliseconds

1234567891011>>