| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXSourceLocation.h | 53 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 D | CXLoadedDiagnostic.h | 52 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 D | CXSourceLocation.cpp | 52 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 D | CIndexDiagnostic.h | 83 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 D | CXLoadedDiagnostic.cpp | 131 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 D | Rewrite.cpp | 34 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 D | CIndexDiagnostic.cpp | 70 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 D | CXStoredDiagnostic.cpp | 86 CXSourceRange CXStoredDiagnostic::getRange(unsigned int Range) const { in getRange() 100 CXSourceRange *ReplacementRange) const { in getFixIt()
|
| H A D | Index_Internal.h | 37 CXCursor, CXSourceRange);
|
| H A D | CLog.h | 71 Logger &operator<<(CXSourceRange);
|
| H A D | CIndexHigh.cpp | 513 CXSourceRange range) { in _visitCursorAndRange()
|
| H A D | CIndex.cpp | 144 CXSourceRange cxloc::translateSourceRange(const SourceManager &SM, in translateSourceRange() 163 CXSourceRange Result = { in translateSourceRange() 168 CharSourceRange cxloc::translateCXRangeToCharRange(CXSourceRange R) { in translateCXRangeToCharRange() 6506 CXSourceRange clang_getCursorExtent(CXCursor C) { in clang_getCursorExtent() 6946 CXSourceRange clang_getCursorReferenceNameRange(CXCursor C, unsigned NameFlags, in clang_getCursorReferenceNameRange() 7081 CXSourceRange clang_getTokenExtent(CXTranslationUnit TU, CXToken CXTok) { in clang_getTokenExtent() 7688 const CXSourceRange CXRefNameRange = clang_getCursorReferenceNameRange( in HandlePostPonedChildCursor() 8635 CXSourceRange clang_Cursor_getCommentRange(CXCursor C) { in clang_Cursor_getCommentRange() 9115 skipped->ranges = new CXSourceRange[skipped->count]; in clang_getSkippedRanges() 9143 skipped->ranges = new CXSourceRange[skipped->count]; in clang_getAllSkippedRanges() [all …]
|
| H A D | CIndexCodeCompletion.cpp | 325 CXSourceRange *replacement_range) { in clang_getCompletionFixIt()
|
| /llvm-project-15.0.7/clang/include/clang-c/ |
| H A D | Rewrite.h | 37 CINDEX_LINKAGE void clang_CXRewriter_replaceText(CXRewriter Rew, CXSourceRange ToBeReplaced, 43 CINDEX_LINKAGE void clang_CXRewriter_removeText(CXRewriter Rew, CXSourceRange ToBeRemoved);
|
| H A D | Index.h | 471 } 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); 699 CXSourceRange *ranges; 3294 CINDEX_LINKAGE CXSourceRange clang_getCursorExtent(CXCursor); 4412 CINDEX_LINKAGE CXSourceRange clang_Cursor_getSpellingNameRange( 4982 CINDEX_LINKAGE CXSourceRange clang_getCursorReferenceNameRange( [all …]
|
| /llvm-project-15.0.7/clang/unittests/libclang/ |
| H A D | LibclangTest.cpp | 713 CXSourceRange Range = in TEST_F() 884 CXSourceRange Rng = clang_getRange(B, E); in TEST_F() 895 CXSourceRange Rng = clang_getRange(B, E); in TEST_F() 906 CXSourceRange Rng = clang_getRange(B, E); in TEST_F() 926 CXSourceRange Rng = clang_getRange(B, E); in TEST_F()
|
| /llvm-project-15.0.7/clang/tools/c-index-test/ |
| H A D | c-index-test.c | 779 CXSourceRange CursorExtent; in PrintCursor() 780 CXSourceRange RefNameRange; in PrintCursor() 1213 CXSourceRange range; in PrintDiagnostic() 1285 CXSourceRange extent = clang_getCursorExtent(C); in PrintCursorExtent() 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() 4155 CXSourceRange range; in perform_token_annotation() 4670 CXSourceRange SR = clang_getDiagnosticRange(D, i); in printRanges() [all …]
|