/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() 73 SourceLocation LParenLoc; 106 OMPVarListClause(OpenMPClauseKind K, SourceLocation StartLoc, in OMPVarListClause() 107 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() 129 SourceLocation getLocStart() const { return StartLoc; } in getLocStart() 131 SourceLocation getLocEnd() const { return EndLoc; } in getLocEnd() 137 void setLocStart(SourceLocation Loc) { StartLoc = Loc; } in setLocStart() 142 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd() 190 OMPParallelDirective(SourceLocation StartLoc, SourceLocation EndLoc, in OMPParallelDirective() 201 SourceLocation(), SourceLocation(), NumClauses, in OMPParallelDirective() 214 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, [all …]
|
D | CommentSema.h | 64 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { in Diag() 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, 123 TParamCommandComment *actOnTParamCommandStart(SourceLocation LocBegin, [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 | 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 | Stmt.h | 364 SourceLocation getLocStart() const LLVM_READONLY; 365 SourceLocation getLocEnd() const LLVM_READONLY; 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 | 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() 159 void initialize(ASTContext &Context, SourceLocation Loc) const { in initialize() 194 SourceLocation Loc); 248 void initializeLocal(ASTContext &Context, SourceLocation Loc) { in initializeLocal() 447 SourceLocation NameLoc; 460 SourceLocation getNameLoc() const { in getNameLoc() 463 void setNameLoc(SourceLocation Loc) { in setNameLoc() [all …]
|
D | ExprCXX.h | 68 SourceLocation operatorloc, bool fpContractable) in CXXOperatorCallExpr() 87 SourceLocation getOperatorLoc() const { return getRParenLoc(); } in getOperatorLoc() 89 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); } in getLocStart() 90 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); } in getLocEnd() 120 QualType t, ExprValueKind VK, SourceLocation RP) in CXXMemberCallExpr() 155 SourceLocation RP) in CUDAKernelCallExpr() 182 SourceLocation Loc; // the location of the casting op 183 SourceLocation RParenLoc; // the location of the right parenthesis 189 TypeSourceInfo *writtenTy, SourceLocation l, in CXXNamedCastExpr() 190 SourceLocation RParenLoc, in CXXNamedCastExpr() [all …]
|
D | Expr.h | 227 SourceLocation getExprLoc() const LLVM_READONLY; 233 bool isUnusedResultAWarning(const Expr *&WarnExpr, SourceLocation &Loc, 297 isModifiableLvalue(ASTContext &Ctx, SourceLocation *Loc = nullptr) const; 386 Classification ClassifyModifiable(ASTContext &Ctx, SourceLocation &Loc) const{ in ClassifyModifiable() 425 Classification ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const; 486 SourceLocation *Loc = nullptr, 489 SourceLocation *Loc = nullptr) const; 501 SourceLocation *Loc = nullptr) const; 815 SourceLocation Loc; 818 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; 179 void setLocation(SourceLocation L) { in setLocation() 196 SourceLocation LocBegin, in Comment() 197 SourceLocation LocEnd) : in Comment() 216 SourceLocation getLocStart() const LLVM_READONLY { in getLocStart() 220 SourceLocation getLocEnd() const LLVM_READONLY { in getLocEnd() 224 SourceLocation getLocation() const LLVM_READONLY { return Loc; } in getLocation() 243 SourceLocation LocBegin, in InlineContentComment() 244 SourceLocation LocEnd) : in InlineContentComment() 269 TextComment(SourceLocation LocBegin, in TextComment() [all …]
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 128 typedef ArrayRef<std::pair<IdentifierInfo *, SourceLocation>> ModuleIdPath; 205 SourceLocation> UnexpandedParameterPack; 302 SourceLocation ImplicitMSInheritanceAttrLoc; 309 SourceLocation PragmaLocation; 312 SourceLocation PragmaLocation) in Slot() 316 void Act(SourceLocation PragmaLocation, 324 SourceLocation CurrentPragmaLocation; 339 SourceLocation OptimizeOffPragmaLocation; 863 llvm::DenseMap<ParmVarDecl *, SourceLocation> UnparsedDefaultArgLocs; 867 llvm::DenseMap<NamedDecl *, SourceLocation> UndefinedButUsed; [all …]
|
D | DeclSpec.h | 73 void setBeginLoc(SourceLocation Loc) { Range.setBegin(Loc); } in setBeginLoc() 74 void setEndLoc(SourceLocation Loc) { Range.setEnd(Loc); } in setEndLoc() 75 SourceLocation getBeginLoc() const { return Range.getBegin(); } in getBeginLoc() 76 SourceLocation getEndLoc() const { return Range.getEnd(); } in getEndLoc() 94 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL, 95 SourceLocation ColonColonLoc); 109 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc); 123 SourceLocation NamespaceLoc, SourceLocation ColonColonLoc); 138 SourceLocation AliasLoc, SourceLocation ColonColonLoc); 142 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 | 87 class SourceLocation { 97 SourceLocation() : ID(0) {} in SourceLocation() function 116 static SourceLocation getFileLoc(unsigned ID) { in getFileLoc() 118 SourceLocation L; in getFileLoc() 123 static SourceLocation getMacroLoc(unsigned ID) { in getMacroLoc() 125 SourceLocation L; in getMacroLoc() 133 SourceLocation getLocWithOffset(int Offset) const { in getLocWithOffset() 135 SourceLocation L; in getLocWithOffset() 151 static SourceLocation getFromRawEncoding(unsigned Encoding) { in getFromRawEncoding() 152 SourceLocation X; in getFromRawEncoding() [all …]
|
D | SourceManager.h | 187 SourceLocation Loc = SourceLocation(), 273 static FileInfo get(SourceLocation IL, const ContentCache *Con, in get() 285 SourceLocation getIncludeLoc() const { in getIncludeLoc() 286 return SourceLocation::getFromRawEncoding(IncludeLoc); in getIncludeLoc() 325 SourceLocation getSpellingLoc() const { in getSpellingLoc() 326 return SourceLocation::getFromRawEncoding(SpellingLoc); in getSpellingLoc() 328 SourceLocation getExpansionLocStart() const { in getExpansionLocStart() 329 return SourceLocation::getFromRawEncoding(ExpansionLocStart); in getExpansionLocStart() 331 SourceLocation getExpansionLocEnd() const { in getExpansionLocEnd() 332 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 49 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason, 120 virtual void InclusionDirective(SourceLocation HashLoc, in InclusionDirective() 141 virtual void moduleImport(SourceLocation ImportLoc, in moduleImport() 156 virtual void Ident(SourceLocation Loc, const std::string &str) { in Ident() 160 virtual void PragmaDirective(SourceLocation Loc, in PragmaDirective() 165 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind, in PragmaComment() 171 virtual void PragmaDetectMismatch(SourceLocation Loc, in PragmaDetectMismatch() 179 virtual void PragmaDebug(SourceLocation Loc, StringRef DebugType) { in PragmaDebug() 199 virtual void PragmaMessage(SourceLocation Loc, StringRef Namespace, in PragmaMessage() [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/Parse/ |
D | Parser.h | 72 SourceLocation PrevTokLocation; 296 SourceLocation ConsumeToken() { in ConsumeToken() 314 bool TryConsumeToken(tok::TokenKind Expected, SourceLocation &Loc) { in TryConsumeToken() 355 SourceLocation ConsumeAnyToken(bool ConsumeCodeCompletionTok = false) { 372 SourceLocation ConsumeParen() { in ConsumeParen() 385 SourceLocation ConsumeBracket() { in ConsumeBracket() 399 SourceLocation ConsumeBrace() { in ConsumeBrace() 415 SourceLocation ConsumeStringToken() { in ConsumeStringToken() 428 SourceLocation ConsumeCodeCompletionToken() { in ConsumeCodeCompletionToken() 440 SourceLocation handleUnexpectedCodeCompletionToken(); [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 …]
|
/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/lib/Lex/ |
D | PPConditionalDirectiveRecord.cpp | 21 CondDirectiveStack.push_back(SourceLocation()); in PPConditionalDirectiveRecord() 41 SourceLocation uppRegion; in rangeIntersectsConditionalDirective() 48 SourceLocation PPConditionalDirectiveRecord::findConditionalDirectiveRegionLoc( in findConditionalDirectiveRegionLoc() 49 SourceLocation Loc) const { in findConditionalDirectiveRegionLoc() 51 return SourceLocation(); in findConditionalDirectiveRegionLoc() 53 return SourceLocation(); in findConditionalDirectiveRegionLoc() 78 void PPConditionalDirectiveRecord::If(SourceLocation Loc, in If() 85 void PPConditionalDirectiveRecord::Ifdef(SourceLocation Loc, in Ifdef() 92 void PPConditionalDirectiveRecord::Ifndef(SourceLocation Loc, in Ifndef() 99 void PPConditionalDirectiveRecord::Elif(SourceLocation Loc, in Elif() [all …]
|