Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXSourceLocation.cpp52 CXSourceRange clang_getNullRange() { in clang_getNullRange()
53 CXSourceRange Result = { { nullptr, nullptr }, 0, 0 }; in clang_getNullRange()
57 CXSourceRange clang_getRange(CXSourceLocation begin, CXSourceLocation end) { in clang_getRange()
61 CXSourceRange Result = { { begin.ptr_data[0], end.ptr_data[0] }, 0, 0 }; in clang_getRange()
69 CXSourceRange Result = { { begin.ptr_data[0], begin.ptr_data[1] }, in clang_getRange()
75 unsigned clang_equalRanges(CXSourceRange range1, CXSourceRange range2) { in clang_equalRanges()
82 int clang_Range_isNull(CXSourceRange range) { in clang_Range_isNull()
87 CXSourceLocation clang_getRangeStart(CXSourceRange range) { in clang_getRangeStart()
99 CXSourceLocation clang_getRangeEnd(CXSourceRange range) { in clang_getRangeEnd()
H A DCXSourceLocation.h53 CXSourceRange translateSourceRange(const SourceManager &SM,
58 static inline CXSourceRange translateSourceRange(ASTContext &Context, in translateSourceRange()
69 static inline SourceRange translateCXSourceRange(CXSourceRange R) { in translateCXSourceRange()
78 CharSourceRange translateCXRangeToCharRange(CXSourceRange R);
H A DCXLoadedDiagnostic.h52 CXSourceRange getRange(unsigned Range) const override;
59 CXSourceRange *ReplacementRange) const override;
83 std::vector<CXSourceRange> Ranges;
84 std::vector<std::pair<CXSourceRange, const char *> > FixIts;
H A 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;
H A DCXLoadedDiagnostic.cpp131 CXSourceRange CXLoadedDiagnostic::getRange(unsigned Range) const { in getRange()
141 CXSourceRange *ReplacementRange) const { in getFixIt()
207 CXSourceRange &SR);
291 CXSourceRange &SR) { in readRange()
353 CXSourceRange SR; in visitSourceRangeRecord()
364 CXSourceRange SR; in visitFixitRecord()
H A DCIndexDiagnostic.cpp70 CXSourceRange getRange(unsigned Range) const override { in getRange()
75 CXSourceRange *ReplacementRange) const override { in getFixIt()
269 CXSourceRange Range = clang_getDiagnosticRange(Diagnostic, I); in clang_formatDiagnostic()
417 CXSourceRange clang_getDiagnosticRange(CXDiagnostic Diag, unsigned Range) { in clang_getDiagnosticRange()
431 CXSourceRange *ReplacementRange) { in clang_getDiagnosticFixIt()
H A DRewrite.cpp34 void clang_CXRewriter_replaceText(CXRewriter Rew, CXSourceRange ToBeReplaced, in clang_CXRewriter_replaceText()
42 void clang_CXRewriter_removeText(CXRewriter Rew, CXSourceRange ToBeRemoved) { in clang_CXRewriter_removeText()
H A DCXStoredDiagnostic.cpp86 CXSourceRange CXStoredDiagnostic::getRange(unsigned int Range) const { in getRange()
100 CXSourceRange *ReplacementRange) const { in getFixIt()
H A DIndex_Internal.h37 CXCursor, CXSourceRange);
H A DCLog.h71 Logger &operator<<(CXSourceRange);
H A DCIndexHigh.cpp513 CXSourceRange range) { in _visitCursorAndRange()
H A DCIndex.cpp143 CXSourceRange cxloc::translateSourceRange(const SourceManager &SM, in translateSourceRange()
162 CXSourceRange Result = { in translateSourceRange()
167 CharSourceRange cxloc::translateCXRangeToCharRange(CXSourceRange R) { in translateCXRangeToCharRange()
4784 CXSourceRange clang_Cursor_getSpellingNameRange(CXCursor C, unsigned pieceIndex, in clang_Cursor_getSpellingNameRange()
6280 CXSourceRange clang_getCursorExtent(CXCursor C) { in clang_getCursorExtent()
6717 CXSourceRange clang_getCursorReferenceNameRange(CXCursor C, unsigned NameFlags, in clang_getCursorReferenceNameRange()
6852 CXSourceRange clang_getTokenExtent(CXTranslationUnit TU, CXToken CXTok) { in clang_getTokenExtent()
6971 void clang_tokenize(CXTranslationUnit TU, CXSourceRange Range, CXToken **Tokens, in clang_tokenize()
7459 const CXSourceRange CXRefNameRange = clang_getCursorReferenceNameRange( in HandlePostPonedChildCursor()
8378 CXSourceRange clang_Cursor_getCommentRange(CXCursor C) { in clang_Cursor_getCommentRange()
[all …]
H A DCIndexCodeCompletion.cpp325 CXSourceRange *replacement_range) { in clang_getCompletionFixIt()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang-c/
H A DIndex.h471 } CXSourceRange; typedef
518 CINDEX_LINKAGE CXSourceRange clang_getNullRange(void);
524 CINDEX_LINKAGE CXSourceRange clang_getRange(CXSourceLocation begin,
532 CINDEX_LINKAGE unsigned clang_equalRanges(CXSourceRange range1,
533 CXSourceRange range2);
538 CINDEX_LINKAGE int clang_Range_isNull(CXSourceRange range);
682 CINDEX_LINKAGE CXSourceLocation clang_getRangeStart(CXSourceRange range);
688 CINDEX_LINKAGE CXSourceLocation clang_getRangeEnd(CXSourceRange range);
699 CXSourceRange *ranges;
1069 CINDEX_LINKAGE CXSourceRange clang_getDiagnosticRange(CXDiagnostic Diagnostic,
[all …]
H A DRewrite.h37 CINDEX_LINKAGE void clang_CXRewriter_replaceText(CXRewriter Rew, CXSourceRange ToBeReplaced,
43 CINDEX_LINKAGE void clang_CXRewriter_removeText(CXRewriter Rew, CXSourceRange ToBeRemoved);
/netbsd-src/external/apache2/llvm/dist/clang/tools/c-index-test/
H A Dc-index-test.c419 static void PrintRange(CXSourceRange R, const char *str) { in PrintRange()
779 CXSourceRange CursorExtent; in PrintCursor()
780 CXSourceRange RefNameRange; in PrintCursor()
1213 CXSourceRange range; in PrintDiagnostic()
1285 CXSourceRange extent = clang_getCursorExtent(C); in PrintCursorExtent()
2493 CXSourceRange token_range = clang_getTokenExtent(translation_unit, *token); in print_token_range()
2579 CXSourceRange correction_range; in print_completion_result()
2929 CXSourceRange range = in inspect_print_cursor()
3045 CXSourceRange range = in inspect_evaluate_cursor()
3080 CXSourceRange range = in inspect_macroinfo_cursor()
[all …]