/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);
|
LambdaCapture.h | 40 SourceLocation Loc; 41 SourceLocation EllipsisLoc; 62 LambdaCapture(SourceLocation Loc, bool Implicit, LambdaCaptureKind Kind, 64 SourceLocation EllipsisLoc = SourceLocation()); 112 SourceLocation getLocation() const { return Loc; } 120 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...] |
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; } 79 SourceLocation LParenLoc [all...] |
StmtOpenMP.h | 22 #include "clang/Basic/SourceLocation.h" 38 SourceLocation StartLoc; 40 SourceLocation EndLoc; 68 SourceLocation StartLoc, SourceLocation EndLoc, 169 SourceLocation getLocStart() const { return StartLoc; } 171 SourceLocation getLocEnd() const { return EndLoc; } 177 void setLocStart(SourceLocation Loc) { StartLoc = Loc; } 182 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } 242 OMPParallelDirective(SourceLocation StartLoc, SourceLocation EndLoc [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...] |
CommentBriefParser.h | 38 SourceLocation ConsumeToken() { 39 SourceLocation Loc = Tok.getLocation();
|
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...] |
Stmt.h | 22 #include "clang/Basic/SourceLocation.h" 342 /// SourceLocation tokens are not useful in isolation - they are low level 346 SourceLocation getLocStart() const LLVM_READONLY; 347 SourceLocation getLocEnd() const LLVM_READONLY; 433 SourceLocation StartLoc, EndLoc; 436 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, 437 SourceLocation endLoc) : Stmt(DeclStmtClass), DG(dg), 456 SourceLocation getStartLoc() const { return StartLoc; } 457 void setStartLoc(SourceLocation L) { StartLoc = L; } 458 SourceLocation getEndLoc() const { return EndLoc; [all...] |
/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/Sema/ |
Sema.h | 129 typedef ArrayRef<std::pair<IdentifierInfo *, SourceLocation>> ModuleIdPath; 212 SourceLocation> UnexpandedParameterPack; 219 SourceLocation PointerLoc; 359 SourceLocation ImplicitMSInheritanceAttrLoc; 366 SourceLocation PragmaLocation; 369 SourceLocation PragmaLocation) 373 void Act(SourceLocation PragmaLocation, 381 SourceLocation CurrentPragmaLocation; 395 SourceLocation CurInitSegLoc; 403 SourceLocation OptimizeOffPragmaLocation [all...] |
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/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" 179 SourceLocation Loc = SourceLocation(), 247 unsigned IncludeLoc; // Really a SourceLocation 265 static FileInfo get(SourceLocation IL, const ContentCache *Con, 277 SourceLocation getIncludeLoc() const { 278 return SourceLocation::getFromRawEncoding(IncludeLoc); 312 /// macro-argument instantiations, the end will be 'SourceLocation()', an 317 SourceLocation getSpellingLoc() const { 318 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/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...] |