/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
SourceLocation.h | 13 struct SourceLocation 15 SourceLocation() 20 SourceLocation(int f, int 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 | 15 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/ |
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, 116 SourceLocation TriggerLoc) = 0; 123 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; } 73 SourceLocation LParenLoc [all...] |
LambdaCapture.h | 40 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 {
|
StmtOpenMP.h | 22 #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 StartLoc, SourceLocation EndLoc [all...] |
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) { 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 [all...] |
CommentBriefParser.h | 38 SourceLocation ConsumeToken() { 39 SourceLocation Loc = Tok.getLocation();
|
StmtCXX.h | 30 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 getLocEnd() const LLVM_READONLY { return getEndLoc(); [all...] |
/external/chromium_org/third_party/angle/tests/preprocessor_tests/ |
MockDirectiveHandler.h | 17 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/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" 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 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. 83 /// In addition, one bit of SourceLocation is used for quick access to the 87 class SourceLocation { 97 SourceLocation() : ID(0) {} 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 L [all...] |
PrettyStackTrace.h | 20 #include "clang/Basic/SourceLocation.h" 29 SourceLocation Loc; 32 PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg)
|
/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; }
|
DeclSpec.h | 73 void setBeginLoc(SourceLocation Loc) { Range.setBegin(Loc); } 74 void setEndLoc(SourceLocation Loc) { Range.setEnd(Loc); } 75 SourceLocation getBeginLoc() const { return Range.getBegin(); } 76 SourceLocation getEndLoc() const { return Range.getEnd(); } 94 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL, 95 SourceLocation ColonColonLoc); 109 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc); 123 SourceLocation NamespaceLoc, SourceLocation ColonColonLoc) [all...] |
Sema.h | 128 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> UndefinedButUsed [all...] |
/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...] |