Home
last modified time | relevance | path

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

/external/clang/tools/libclang/
DCXSourceLocation.cpp54 CXSourceRange clang_getNullRange() { in clang_getNullRange()
55 CXSourceRange Result = { { nullptr, nullptr }, 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()
DCXLoadedDiagnostic.h53 CXSourceRange getRange(unsigned Range) const override;
60 CXSourceRange *ReplacementRange) const override;
84 std::vector<CXSourceRange> Ranges;
85 std::vector<std::pair<CXSourceRange, const char *> > FixIts;
DCIndexDiagnostic.h83 virtual CXSourceRange getRange(unsigned Range) const = 0;
90 CXSourceRange *ReplacementRange) const = 0;
144 CXSourceRange getRange(unsigned Range) const override;
151 CXSourceRange *ReplacementRange) const override;
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()
DCXLoadedDiagnostic.cpp134 CXSourceRange CXLoadedDiagnostic::getRange(unsigned Range) const { in getRange()
144 CXSourceRange *ReplacementRange) const { in getFixIt()
210 CXSourceRange &SR);
294 CXSourceRange &SR) { in readRange()
356 CXSourceRange SR; in visitSourceRangeRecord()
367 CXSourceRange SR; in visitFixitRecord()
DCIndexDiagnostic.cpp75 CXSourceRange getRange(unsigned Range) const override { in getRange()
80 CXSourceRange *ReplacementRange) const override { in getFixIt()
282 CXSourceRange Range = clang_getDiagnosticRange(Diagnostic, I); in clang_formatDiagnostic()
430 CXSourceRange clang_getDiagnosticRange(CXDiagnostic Diag, unsigned Range) { in clang_getDiagnosticRange()
444 CXSourceRange *ReplacementRange) { in clang_getDiagnosticFixIt()
DCXStoredDiagnostic.cpp90 CXSourceRange CXStoredDiagnostic::getRange(unsigned int Range) const { in getRange()
104 CXSourceRange *ReplacementRange) const { in getFixIt()
DIndex_Internal.h38 CXCursor, CXSourceRange);
DCLog.h72 Logger &operator<<(CXSourceRange);
DCIndexHigh.cpp516 CXSourceRange range) { in _visitCursorAndRange()
DCIndex.cpp139 CXSourceRange cxloc::translateSourceRange(const SourceManager &SM, in translateSourceRange()
153 CXSourceRange Result = { in translateSourceRange()
4278 CXSourceRange clang_Cursor_getSpellingNameRange(CXCursor C, in clang_Cursor_getSpellingNameRange()
5455 CXSourceRange clang_getCursorExtent(CXCursor C) { in clang_getCursorExtent()
5885 CXSourceRange clang_getCursorReferenceNameRange(CXCursor C, unsigned NameFlags, in clang_getCursorReferenceNameRange()
6020 CXSourceRange clang_getTokenExtent(CXTranslationUnit TU, CXToken CXTok) { in clang_getTokenExtent()
6106 void clang_tokenize(CXTranslationUnit TU, CXSourceRange Range, in clang_tokenize()
7289 CXSourceRange clang_Cursor_getCommentRange(CXCursor C) { in clang_Cursor_getCommentRange()
7749 skipped->ranges = new CXSourceRange[skipped->count]; in clang_getSkippedRanges()
7971 Logger &cxindex::Logger::operator<<(CXSourceRange range) { in operator <<()
/external/clang/include/clang-c/
DIndex.h382 } CXSourceRange; typedef
430 CINDEX_LINKAGE CXSourceRange clang_getNullRange(void);
436 CINDEX_LINKAGE CXSourceRange clang_getRange(CXSourceLocation begin,
444 CINDEX_LINKAGE unsigned clang_equalRanges(CXSourceRange range1,
445 CXSourceRange range2);
450 CINDEX_LINKAGE int clang_Range_isNull(CXSourceRange range);
600 CINDEX_LINKAGE CXSourceLocation clang_getRangeStart(CXSourceRange range);
606 CINDEX_LINKAGE CXSourceLocation clang_getRangeEnd(CXSourceRange range);
617 CXSourceRange *ranges;
978 CINDEX_LINKAGE CXSourceRange clang_getDiagnosticRange(CXDiagnostic Diagnostic,
[all …]
/external/clang/tools/c-index-test/
Dc-index-test.c343 static void PrintRange(CXSourceRange R, const char *str) { in PrintRange()
674 CXSourceRange CursorExtent; in PrintCursor()
675 CXSourceRange RefNameRange; in PrintCursor()
1010 CXSourceRange range; in PrintDiagnostic()
1082 CXSourceRange extent = clang_getCursorExtent(C); in PrintCursorExtent()
2406 CXSourceRange range = in inspect_print_cursor()
2513 CXSourceRange range = in inspect_evaluate_cursor()
2548 CXSourceRange range = in inspect_macroinfo_cursor()
2567 CXCursor cursor, CXSourceRange range) { in findFileRefsVisit()
2680 CXCursor cursor, CXSourceRange range) { in findFileIncludesVisit()
[all …]