Home
last modified time | relevance | path

Searched refs:CXSourceRange (Results 1 – 13 of 13) sorted by relevance

/external/clang/tools/libclang/
DCXLoadedDiagnostic.h53 virtual CXSourceRange getRange(unsigned Range) const;
60 CXSourceRange *ReplacementRange) const;
84 std::vector<CXSourceRange> Ranges;
85 std::vector<std::pair<CXSourceRange, const char *> > FixIts;
DCXSourceLocation.cpp54 CXSourceRange clang_getNullRange() { in clang_getNullRange()
55 CXSourceRange Result = { { 0, 0 }, 0, 0 }; in clang_getNullRange()
59 CXSourceRange clang_getRange(CXSourceLocation begin, CXSourceLocation end) { in clang_getRange()
63 CXSourceRange Result = { { begin.ptr_data[0], end.ptr_data[0] }, 0, 0 }; in clang_getRange()
71 CXSourceRange Result = { { begin.ptr_data[0], begin.ptr_data[1] }, in clang_getRange()
77 unsigned clang_equalRanges(CXSourceRange range1, CXSourceRange range2) { in clang_equalRanges()
84 int clang_Range_isNull(CXSourceRange range) { in clang_Range_isNull()
89 CXSourceLocation clang_getRangeStart(CXSourceRange range) { in clang_getRangeStart()
101 CXSourceLocation clang_getRangeEnd(CXSourceRange range) { in clang_getRangeEnd()
DCIndexDiagnostic.h84 virtual CXSourceRange getRange(unsigned Range) const = 0;
91 CXSourceRange *ReplacementRange) const = 0;
145 virtual CXSourceRange getRange(unsigned Range) const;
152 CXSourceRange *ReplacementRange) const;
DCXSourceLocation.h54 CXSourceRange translateSourceRange(const SourceManager &SM,
59 static inline CXSourceRange translateSourceRange(ASTContext &Context, in translateSourceRange()
70 static inline SourceRange translateCXSourceRange(CXSourceRange R) { in translateCXSourceRange()
DCIndexDiagnostic.cpp77 CXSourceRange getRange(unsigned Range) const { return clang_getNullRange(); } in getRange()
79 CXString getFixIt(unsigned FixIt, CXSourceRange *ReplacementRange) const { in getFixIt()
267 CXSourceRange Range = clang_getDiagnosticRange(Diagnostic, I); in clang_formatDiagnostic()
415 CXSourceRange clang_getDiagnosticRange(CXDiagnostic Diag, unsigned Range) { in clang_getDiagnosticRange()
429 CXSourceRange *ReplacementRange) { in clang_getDiagnosticFixIt()
DCXStoredDiagnostic.cpp88 CXSourceRange CXStoredDiagnostic::getRange(unsigned int Range) const { in getRange()
102 CXSourceRange *ReplacementRange) const { in getFixIt()
DCXLoadedDiagnostic.cpp123 CXSourceRange CXLoadedDiagnostic::getRange(unsigned Range) const { in getRange()
133 CXSourceRange *ReplacementRange) const { in getFixIt()
230 CXSourceRange &SR);
511 CXSourceRange &SR) { in readRange()
613 CXSourceRange SR; in readDiagnosticBlock()
621 CXSourceRange SR; in readDiagnosticBlock()
DIndex_Internal.h38 CXCursor, CXSourceRange);
DCLog.h71 Logger &operator<<(CXSourceRange);
DCIndexHigh.cpp517 CXSourceRange range) { in _visitCursorAndRange()
DCIndex.cpp118 CXSourceRange cxloc::translateSourceRange(const SourceManager &SM, in translateSourceRange()
132 CXSourceRange Result = { in translateSourceRange()
3354 CXSourceRange clang_Cursor_getSpellingNameRange(CXCursor C, in clang_Cursor_getSpellingNameRange()
4373 CXSourceRange clang_getCursorExtent(CXCursor C) { in clang_getCursorExtent()
4794 CXSourceRange clang_getCursorReferenceNameRange(CXCursor C, unsigned NameFlags, in clang_getCursorReferenceNameRange()
4916 CXSourceRange clang_getTokenExtent(CXTranslationUnit TU, CXToken CXTok) { in clang_getTokenExtent()
4997 void clang_tokenize(CXTranslationUnit TU, CXSourceRange Range, in clang_tokenize()
6079 CXSourceRange clang_Cursor_getCommentRange(CXCursor C) { in clang_Cursor_getCommentRange()
6637 Logger &cxindex::Logger::operator<<(CXSourceRange range) { in operator <<()
/external/clang/include/clang-c/
DIndex.h377 } CXSourceRange; typedef
419 CINDEX_LINKAGE CXSourceRange clang_getNullRange(void);
425 CINDEX_LINKAGE CXSourceRange clang_getRange(CXSourceLocation begin,
433 CINDEX_LINKAGE unsigned clang_equalRanges(CXSourceRange range1,
434 CXSourceRange range2);
439 CINDEX_LINKAGE int clang_Range_isNull(CXSourceRange range);
589 CINDEX_LINKAGE CXSourceLocation clang_getRangeStart(CXSourceRange range);
595 CINDEX_LINKAGE CXSourceLocation clang_getRangeEnd(CXSourceRange range);
942 CINDEX_LINKAGE CXSourceRange clang_getDiagnosticRange(CXDiagnostic Diagnostic,
978 CXSourceRange *ReplacementRange);
[all …]
/external/clang/tools/c-index-test/
Dc-index-test.c251 static void PrintRange(CXSourceRange R, const char *str) { in PrintRange()
591 CXSourceRange CursorExtent; in PrintCursor()
592 CXSourceRange RefNameRange; in PrintCursor()
884 CXSourceRange range; in PrintDiagnostic()
957 CXSourceRange extent = clang_getCursorExtent(C); in PrintCursorExtent()
2089 CXSourceRange range = in inspect_cursor_at()
2152 CXCursor cursor, CXSourceRange range) { in findFileRefsVisit()
2260 CXCursor cursor, CXSourceRange range) { in findFileIncludesVisit()
3112 CXSourceRange range; in perform_token_annotation()
3207 CXSourceRange extent = clang_getTokenExtent(TU, tokens[i]); in perform_token_annotation()
[all …]