/external/clang/include/clang/AST/ |
D | OpenMPClause.h | 34 SourceLocation StartLoc; 36 SourceLocation EndLoc; 41 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) in OMPClause() 46 SourceLocation getLocStart() const { return StartLoc; } in getLocStart() 48 SourceLocation getLocEnd() const { return EndLoc; } in getLocEnd() 51 void setLocStart(SourceLocation Loc) { StartLoc = Loc; } in setLocStart() 53 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd() 79 SourceLocation LParenLoc; 112 OMPVarListClause(OpenMPClauseKind K, SourceLocation StartLoc, in OMPVarListClause() 113 SourceLocation LParenLoc, SourceLocation EndLoc, unsigned N) in OMPVarListClause() [all …]
|
D | StmtOpenMP.h | 38 SourceLocation StartLoc; 40 SourceLocation EndLoc; 68 SourceLocation StartLoc, SourceLocation EndLoc, in OMPExecutableDirective() 169 SourceLocation getLocStart() const { return StartLoc; } in getLocStart() 171 SourceLocation getLocEnd() const { return EndLoc; } in getLocEnd() 177 void setLocStart(SourceLocation Loc) { StartLoc = Loc; } in setLocStart() 182 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd() 242 OMPParallelDirective(SourceLocation StartLoc, SourceLocation EndLoc, in OMPParallelDirective() 254 SourceLocation(), SourceLocation(), NumClauses, in OMPParallelDirective() 272 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, [all …]
|
D | CommentSema.h | 64 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { in Diag() 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, 119 TParamCommandComment *actOnTParamCommandStart(SourceLocation LocBegin, [all …]
|
D | TypeLoc.h | 121 SourceLocation getBeginLoc() const; 124 SourceLocation getEndLoc() const; 130 SourceLocation getLocStart() const LLVM_READONLY { return getBeginLoc(); } in getLocStart() 131 SourceLocation getLocEnd() const LLVM_READONLY { return getEndLoc(); } in getLocEnd() 167 void initialize(ASTContext &Context, SourceLocation Loc) const { in initialize() 200 SourceLocation findNullabilityLoc() const; 208 SourceLocation Loc); 263 void initializeLocal(ASTContext &Context, SourceLocation Loc) { in initializeLocal() 480 SourceLocation NameLoc; 493 SourceLocation getNameLoc() const { in getNameLoc() [all …]
|
D | ExprObjC.h | 31 SourceLocation AtLoc; 33 ObjCStringLiteral(StringLiteral *SL, QualType T, SourceLocation L) in ObjCStringLiteral() 44 SourceLocation getAtLoc() const { return AtLoc; } in getAtLoc() 45 void setAtLoc(SourceLocation L) { AtLoc = L; } in setAtLoc() 47 SourceLocation getLocStart() const LLVM_READONLY { return AtLoc; } in getLocStart() 48 SourceLocation getLocEnd() const LLVM_READONLY { return String->getLocEnd(); } in getLocEnd() 62 SourceLocation Loc; 64 ObjCBoolLiteralExpr(bool val, QualType Ty, SourceLocation l) : in ObjCBoolLiteralExpr() 74 SourceLocation getLocStart() const LLVM_READONLY { return Loc; } in getLocStart() 75 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; } in getLocEnd() [all …]
|
D | Stmt.h | 346 SourceLocation getLocStart() const LLVM_READONLY; in LLVM_ALIGNAS() 347 SourceLocation getLocEnd() const LLVM_READONLY; in LLVM_ALIGNAS() 433 SourceLocation StartLoc, EndLoc; 436 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, in DeclStmt() 437 SourceLocation endLoc) : Stmt(DeclStmtClass), DG(dg), in DeclStmt() 456 SourceLocation getStartLoc() const { return StartLoc; } in getStartLoc() 457 void setStartLoc(SourceLocation L) { StartLoc = L; } in setStartLoc() 458 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc() 459 void setEndLoc(SourceLocation L) { EndLoc = L; } in setEndLoc() 461 SourceLocation getLocStart() const LLVM_READONLY { return StartLoc; } in getLocStart() [all …]
|
D | StmtObjC.h | 27 SourceLocation ForLoc; 28 SourceLocation RParenLoc; 31 SourceLocation FCL, SourceLocation RPL); 53 SourceLocation getForLoc() const { return ForLoc; } in getForLoc() 54 void setForLoc(SourceLocation Loc) { ForLoc = Loc; } in setForLoc() 55 SourceLocation getRParenLoc() const { return RParenLoc; } in getRParenLoc() 56 void setRParenLoc(SourceLocation Loc) { RParenLoc = Loc; } in setRParenLoc() 58 SourceLocation getLocStart() const LLVM_READONLY { return ForLoc; } in getLocStart() 59 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() 78 SourceLocation AtCatchLoc, RParenLoc; [all …]
|
D | ExprCXX.h | 68 SourceLocation operatorloc, bool fpContractable) in CXXOperatorCallExpr() 87 SourceLocation getOperatorLoc() const { return getRParenLoc(); } in getOperatorLoc() 89 SourceLocation getExprLoc() const LLVM_READONLY { in getExprLoc() 96 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); } in getLocStart() 97 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd() 127 QualType t, ExprValueKind VK, SourceLocation RP) in CXXMemberCallExpr() 162 SourceLocation RP) in CUDAKernelCallExpr() 189 SourceLocation Loc; // the location of the casting op 190 SourceLocation RParenLoc; // the location of the right parenthesis 196 TypeSourceInfo *writtenTy, SourceLocation l, in CXXNamedCastExpr() [all …]
|
D | Expr.h | 223 SourceLocation getExprLoc() const LLVM_READONLY; 229 bool isUnusedResultAWarning(const Expr *&WarnExpr, SourceLocation &Loc, 294 isModifiableLvalue(ASTContext &Ctx, SourceLocation *Loc = nullptr) const; 384 Classification ClassifyModifiable(ASTContext &Ctx, SourceLocation &Loc) const{ in ClassifyModifiable() 423 Classification ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const; 488 SourceLocation *Loc = nullptr, 491 SourceLocation *Loc = nullptr) const; 503 SourceLocation *Loc = nullptr) const; 843 SourceLocation Loc; 846 OpaqueValueExpr(SourceLocation Loc, QualType T, ExprValueKind VK, [all …]
|
D | StmtCXX.h | 30 SourceLocation CatchLoc; 37 CXXCatchStmt(SourceLocation catchLoc, VarDecl *exDecl, Stmt *handlerBlock) in CXXCatchStmt() 44 SourceLocation getLocStart() const LLVM_READONLY { return CatchLoc; } in getLocStart() 45 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() 49 SourceLocation getCatchLoc() const { return CatchLoc; } in getCatchLoc() 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(); } in getLocStart() 89 SourceLocation getLocEnd() const LLVM_READONLY { return getEndLoc(); } in getLocEnd() [all …]
|
D | DeclObjC.h | 77 SourceLocation *Locations; 84 typedef const SourceLocation *loc_iterator; 89 const SourceLocation *Locs, ASTContext &Ctx); 177 SourceLocation DeclEndLoc; // the location of the ';' or '{'. 198 SourceLocation *getStoredSelLocs() { in getStoredSelLocs() 199 return reinterpret_cast<SourceLocation*>(getParams() + NumParams); in getStoredSelLocs() 201 const SourceLocation *getStoredSelLocs() const { in getStoredSelLocs() 202 return reinterpret_cast<const SourceLocation*>(getParams() + NumParams); in getStoredSelLocs() 224 ArrayRef<SourceLocation> SelLocs); 226 ObjCMethodDecl(SourceLocation beginLoc, SourceLocation endLoc, [all …]
|
D | Comment.h | 56 SourceLocation Loc; 181 void setLocation(SourceLocation L) { in setLocation() 198 SourceLocation LocBegin, in Comment() 199 SourceLocation LocEnd) : in Comment() 218 SourceLocation getLocStart() const LLVM_READONLY { in getLocStart() 222 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() 226 SourceLocation getLocation() const LLVM_READONLY { return Loc; } in getLocation() 245 SourceLocation LocBegin, in InlineContentComment() 246 SourceLocation LocEnd) : in InlineContentComment() 271 TextComment(SourceLocation LocBegin, in TextComment() [all …]
|
D | DeclCXX.h | 104 SourceLocation ColonLoc; 107 SourceLocation ASLoc, SourceLocation ColonLoc) in AccessSpecDecl() 115 SourceLocation getAccessSpecifierLoc() const { return getLocation(); } in getAccessSpecifierLoc() 117 void setAccessSpecifierLoc(SourceLocation ASLoc) { setLocation(ASLoc); } in setAccessSpecifierLoc() 120 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc() 122 void setColonLoc(SourceLocation CLoc) { ColonLoc = CLoc; } in setColonLoc() 129 DeclContext *DC, SourceLocation ASLoc, in Create() 130 SourceLocation ColonLoc) { in Create() 165 SourceLocation EllipsisLoc; 196 TypeSourceInfo *TInfo, SourceLocation EllipsisLoc) in CXXBaseSpecifier() [all …]
|
/external/clang/include/clang/Sema/ |
D | 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) in Slot() 373 void Act(SourceLocation PragmaLocation, 381 SourceLocation CurrentPragmaLocation; 395 SourceLocation CurInitSegLoc; 403 SourceLocation OptimizeOffPragmaLocation; [all …]
|
D | DeclSpec.h | 70 void setBeginLoc(SourceLocation Loc) { Range.setBegin(Loc); } in setBeginLoc() 71 void setEndLoc(SourceLocation Loc) { Range.setEnd(Loc); } in setEndLoc() 72 SourceLocation getBeginLoc() const { return Range.getBegin(); } in getBeginLoc() 73 SourceLocation getEndLoc() const { return Range.getEnd(); } in getEndLoc() 91 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL, 92 SourceLocation ColonColonLoc); 106 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc); 120 SourceLocation NamespaceLoc, SourceLocation ColonColonLoc); 135 SourceLocation AliasLoc, SourceLocation ColonColonLoc); 139 void MakeGlobal(ASTContext &Context, SourceLocation ColonColonLoc); [all …]
|
D | Designator.h | 79 SourceLocation getDotLoc() const { in getDotLoc() 81 return SourceLocation::getFromRawEncoding(FieldInfo.DotLoc); in getDotLoc() 84 SourceLocation getFieldLoc() const { in getFieldLoc() 86 return SourceLocation::getFromRawEncoding(FieldInfo.NameLoc); in getFieldLoc() 103 SourceLocation getLBracketLoc() const { in getLBracketLoc() 107 return SourceLocation::getFromRawEncoding(ArrayInfo.LBracketLoc); in getLBracketLoc() 109 return SourceLocation::getFromRawEncoding(ArrayRangeInfo.LBracketLoc); in getLBracketLoc() 112 SourceLocation getRBracketLoc() const { in getRBracketLoc() 116 return SourceLocation::getFromRawEncoding(ArrayInfo.RBracketLoc); in getRBracketLoc() 118 return SourceLocation::getFromRawEncoding(ArrayRangeInfo.RBracketLoc); in getRBracketLoc() [all …]
|
/external/clang/include/clang/Basic/ |
D | SourceLocation.h | 88 class SourceLocation { 98 SourceLocation() : ID(0) {} in SourceLocation() function 117 static SourceLocation getFileLoc(unsigned ID) { in getFileLoc() 119 SourceLocation L; in getFileLoc() 124 static SourceLocation getMacroLoc(unsigned ID) { in getMacroLoc() 126 SourceLocation L; in getMacroLoc() 134 SourceLocation getLocWithOffset(int Offset) const { in getLocWithOffset() 136 SourceLocation L; in getLocWithOffset() 152 static SourceLocation getFromRawEncoding(unsigned Encoding) { in getFromRawEncoding() 153 SourceLocation X; in getFromRawEncoding() [all …]
|
D | SourceManager.h | 179 SourceLocation Loc = SourceLocation(), 265 static FileInfo get(SourceLocation IL, const ContentCache *Con, in get() 277 SourceLocation getIncludeLoc() const { in getIncludeLoc() 278 return SourceLocation::getFromRawEncoding(IncludeLoc); in getIncludeLoc() 317 SourceLocation getSpellingLoc() const { in getSpellingLoc() 318 return SourceLocation::getFromRawEncoding(SpellingLoc); in getSpellingLoc() 320 SourceLocation getExpansionLocStart() const { in getExpansionLocStart() 321 return SourceLocation::getFromRawEncoding(ExpansionLocStart); in getExpansionLocStart() 323 SourceLocation getExpansionLocEnd() const { in getExpansionLocEnd() 324 SourceLocation EndLoc = in getExpansionLocEnd() [all …]
|
/external/clang/include/clang/Lex/ |
D | PPConditionalDirectiveRecord.h | 29 SmallVector<SourceLocation, 6> CondDirectiveStack; 32 SourceLocation Loc; 33 SourceLocation RegionLoc; 36 CondDirectiveLoc(SourceLocation Loc, SourceLocation RegionLoc) in CondDirectiveLoc() 39 SourceLocation getLoc() const { return Loc; } in getLoc() 40 SourceLocation getRegionLoc() const { return RegionLoc; } in getRegionLoc() 50 bool operator()(const CondDirectiveLoc &LHS, SourceLocation RHS) { in operator() 53 bool operator()(SourceLocation LHS, const CondDirectiveLoc &RHS) { in operator() 80 bool areInDifferentConditionalDirectiveRegion(SourceLocation LHS, in areInDifferentConditionalDirectiveRegion() 81 SourceLocation RHS) const { in areInDifferentConditionalDirectiveRegion() [all …]
|
D | PPCallbacks.h | 27 class SourceLocation; variable 50 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason, 122 virtual void InclusionDirective(SourceLocation HashLoc, in InclusionDirective() 143 virtual void moduleImport(SourceLocation ImportLoc, in moduleImport() 158 virtual void Ident(SourceLocation Loc, StringRef str) { in Ident() 162 virtual void PragmaDirective(SourceLocation Loc, in PragmaDirective() 167 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind, in PragmaComment() 173 virtual void PragmaDetectMismatch(SourceLocation Loc, StringRef Name, in PragmaDetectMismatch() 180 virtual void PragmaDebug(SourceLocation Loc, StringRef DebugType) { in PragmaDebug() 200 virtual void PragmaMessage(SourceLocation Loc, StringRef Namespace, in PragmaMessage() [all …]
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 74 SourceLocation PrevTokLocation; 285 SourceLocation ConsumeToken() { in ConsumeToken() 303 bool TryConsumeToken(tok::TokenKind Expected, SourceLocation &Loc) { in TryConsumeToken() 359 SourceLocation ConsumeAnyToken(bool ConsumeCodeCompletionTok = false) { 376 SourceLocation ConsumeParen() { in ConsumeParen() 389 SourceLocation ConsumeBracket() { in ConsumeBracket() 403 SourceLocation ConsumeBrace() { in ConsumeBrace() 419 SourceLocation ConsumeStringToken() { in ConsumeStringToken() 432 SourceLocation ConsumeCodeCompletionToken() { in ConsumeCodeCompletionToken() 444 SourceLocation handleUnexpectedCodeCompletionToken(); [all …]
|
/external/clang/lib/AST/ |
D | SelectorLocationsKind.cpp | 20 static SourceLocation getStandardSelLoc(unsigned Index, in getStandardSelLoc() 23 SourceLocation ArgLoc, in getStandardSelLoc() 24 SourceLocation EndLoc) { in getStandardSelLoc() 29 return SourceLocation(); in getStandardSelLoc() 37 return SourceLocation(); in getStandardSelLoc() 48 SourceLocation getArgLoc(T* Arg); 51 SourceLocation getArgLoc<Expr>(Expr *Arg) { in getArgLoc() 56 SourceLocation getArgLoc<ParmVarDecl>(ParmVarDecl *Arg) { in getArgLoc() 57 SourceLocation Loc = Arg->getLocStart(); in getArgLoc() 65 SourceLocation getArgLoc(unsigned Index, ArrayRef<T*> Args) { in getArgLoc() [all …]
|
/external/clang/include/clang/Frontend/ |
D | DiagnosticRenderer.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, 112 void emitIncludeStackRecursively(SourceLocation Loc, const SourceManager &SM); [all …]
|
/external/clang/tools/libclang/ |
D | CXCursor.h | 49 CXCursor getCursor(CXTranslationUnit, SourceLocation); 63 SourceLocation Loc, 68 std::pair<const ObjCInterfaceDecl *, SourceLocation> 73 SourceLocation Loc, 78 std::pair<const ObjCProtocolDecl *, SourceLocation> 83 SourceLocation Loc, 88 std::pair<const ObjCInterfaceDecl *, SourceLocation> 92 CXCursor MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc, 97 std::pair<const TypeDecl *, SourceLocation> getCursorTypeRef(CXCursor C); 100 CXCursor MakeCursorTemplateRef(const TemplateDecl *Template, SourceLocation Loc, [all …]
|
/external/clang/include/clang/Edit/ |
D | 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) { in insertBefore() 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 …]
|