/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() 124 SourceLocation LParenLoc; 151 OMPVarListClause(OpenMPClauseKind K, SourceLocation StartLoc, in OMPVarListClause() 152 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() 168 SourceLocation getLocStart() const { return StartLoc; } in getLocStart() 170 SourceLocation getLocEnd() const { return EndLoc; } in getLocEnd() 176 void setLocStart(SourceLocation Loc) { StartLoc = Loc; } in setLocStart() 181 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd() 241 OMPParallelDirective(SourceLocation StartLoc, SourceLocation EndLoc, in OMPParallelDirective() 253 SourceLocation(), SourceLocation(), NumClauses, in OMPParallelDirective() 271 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 | 358 SourceLocation getLocStart() const LLVM_READONLY; in LLVM_ALIGNAS() 359 SourceLocation getLocEnd() const LLVM_READONLY; in LLVM_ALIGNAS() 445 SourceLocation StartLoc, EndLoc; 448 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, in DeclStmt() 449 SourceLocation endLoc) : Stmt(DeclStmtClass), DG(dg), in DeclStmt() 468 SourceLocation getStartLoc() const { return StartLoc; } in getStartLoc() 469 void setStartLoc(SourceLocation L) { StartLoc = L; } in setStartLoc() 470 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc() 471 void setEndLoc(SourceLocation L) { EndLoc = L; } in setEndLoc() 473 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 | 66 SourceLocation operatorloc, bool fpContractable) in CXXOperatorCallExpr() 84 SourceLocation getOperatorLoc() const { return getRParenLoc(); } in getOperatorLoc() 86 SourceLocation getExprLoc() const LLVM_READONLY { in getExprLoc() 93 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); } in getLocStart() 94 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd() 124 QualType t, ExprValueKind VK, SourceLocation RP) in CXXMemberCallExpr() 146 SourceLocation getExprLoc() const LLVM_READONLY { in getExprLoc() 147 SourceLocation CLoc = getCallee()->getExprLoc(); in getExprLoc() 167 SourceLocation RP) in CUDAKernelCallExpr() 205 SourceLocation Loc; // the location of the casting op [all …]
|
D | Expr.h | 224 SourceLocation getExprLoc() const LLVM_READONLY; 230 bool isUnusedResultAWarning(const Expr *&WarnExpr, SourceLocation &Loc, 295 isModifiableLvalue(ASTContext &Ctx, SourceLocation *Loc = nullptr) const; 385 Classification ClassifyModifiable(ASTContext &Ctx, SourceLocation &Loc) const{ in ClassifyModifiable() 424 Classification ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const; 489 SourceLocation *Loc = nullptr, 492 SourceLocation *Loc = nullptr) const; 504 SourceLocation *Loc = nullptr) const; 851 SourceLocation Loc; 854 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 …]
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 130 typedef ArrayRef<std::pair<IdentifierInfo *, SourceLocation>> ModuleIdPath; 215 SourceLocation> UnexpandedParameterPack; 222 SourceLocation PointerLoc; 330 SourceLocation ImplicitMSInheritanceAttrLoc; 347 SourceLocation PragmaLocation; 350 SourceLocation PragmaLocation) in Slot() 354 void Act(SourceLocation PragmaLocation, 386 SourceLocation CurrentPragmaLocation; 428 SourceLocation CurInitSegLoc; 436 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 | 178 SourceLocation Loc = SourceLocation(), 264 static FileInfo get(SourceLocation IL, const ContentCache *Con, in get() 276 SourceLocation getIncludeLoc() const { in getIncludeLoc() 277 return SourceLocation::getFromRawEncoding(IncludeLoc); in getIncludeLoc() 316 SourceLocation getSpellingLoc() const { in getSpellingLoc() 317 return SourceLocation::getFromRawEncoding(SpellingLoc); in getSpellingLoc() 319 SourceLocation getExpansionLocStart() const { in getExpansionLocStart() 320 return SourceLocation::getFromRawEncoding(ExpansionLocStart); in getExpansionLocStart() 322 SourceLocation getExpansionLocEnd() const { in getExpansionLocEnd() 323 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; 291 SourceLocation ConsumeToken() { in ConsumeToken() 309 bool TryConsumeToken(tok::TokenKind Expected, SourceLocation &Loc) { in TryConsumeToken() 365 SourceLocation ConsumeAnyToken(bool ConsumeCodeCompletionTok = false) { 382 SourceLocation ConsumeParen() { in ConsumeParen() 395 SourceLocation ConsumeBracket() { in ConsumeBracket() 409 SourceLocation ConsumeBrace() { in ConsumeBrace() 425 SourceLocation ConsumeStringToken() { in ConsumeStringToken() 438 SourceLocation ConsumeCodeCompletionToken() { in ConsumeCodeCompletionToken() 450 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 …]
|
D | DeclTemplate.cpp | 31 TemplateParameterList::TemplateParameterList(SourceLocation TemplateLoc, in TemplateParameterList() 32 SourceLocation LAngleLoc, in TemplateParameterList() 34 SourceLocation RAngleLoc) in TemplateParameterList() 58 const ASTContext &C, SourceLocation TemplateLoc, SourceLocation LAngleLoc, in Create() 59 ArrayRef<NamedDecl *> Params, SourceLocation RAngleLoc) { in Create() 248 SourceLocation L, in Create() 258 return new (C, ID) FunctionTemplateDecl(C, nullptr, SourceLocation(), in CreateDeserialized() 325 SourceLocation L, in Create() 339 return new (C, ID) ClassTemplateDecl(C, nullptr, SourceLocation(), in CreateDeserialized() 474 SourceLocation KeyLoc, SourceLocation NameLoc, in Create() [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 …]
|