/external/llvm-project/clang/tools/libclang/ |
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);
|
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;
|
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()
|
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;
|
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()
|
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()
|
D | CXStoredDiagnostic.cpp | 86 CXSourceRange CXStoredDiagnostic::getRange(unsigned int Range) const { in getRange() 100 CXSourceRange *ReplacementRange) const { in getFixIt()
|
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()
|
D | Index_Internal.h | 37 CXCursor, CXSourceRange);
|
D | CLog.h | 71 Logger &operator<<(CXSourceRange);
|
/external/clang/tools/libclang/ |
D | CXLoadedDiagnostic.h | 53 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;
|
D | CXSourceLocation.cpp | 54 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()
|
D | CXSourceLocation.h | 54 CXSourceRange translateSourceRange(const SourceManager &SM, 59 static inline CXSourceRange translateSourceRange(ASTContext &Context, in translateSourceRange() 70 static inline SourceRange translateCXSourceRange(CXSourceRange R) { in translateCXSourceRange()
|
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;
|
D | CXLoadedDiagnostic.cpp | 134 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()
|
D | CXStoredDiagnostic.cpp | 90 CXSourceRange CXStoredDiagnostic::getRange(unsigned int Range) const { in getRange() 104 CXSourceRange *ReplacementRange) const { in getFixIt()
|
D | CIndexDiagnostic.cpp | 75 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()
|
D | Index_Internal.h | 38 CXCursor, CXSourceRange);
|
D | CLog.h | 72 Logger &operator<<(CXSourceRange);
|
/external/clang/include/clang-c/ |
D | Index.h | 382 } 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/llvm-project/clang/include/clang-c/ |
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);
|
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); 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 …]
|
/external/rust/crates/clang-sys/src/ |
D | lib.rs | 1336 pub visit: Option<extern "C" fn(*mut c_void, CXCursor, CXSourceRange) -> CXVisitorResult>, 1566 pub struct CXSourceRange { struct 1572 default!(CXSourceRange); argument 1578 pub ranges: *mut CXSourceRange, 1741 pub fn clang_Cursor_getCommentRange(cursor: CXCursor) -> CXSourceRange; 1773 …ng_Cursor_getSpellingNameRange(cursor: CXCursor, index: c_uint, reserved: c_uint) -> CXSourceRange; 1866 pub fn clang_Range_isNull(range: CXSourceRange) -> c_int; 1961 pub fn clang_equalRanges(left: CXSourceRange, right: CXSourceRange) -> c_uint; 1994 …leteResults, completion_index: c_uint, fixit_index: c_uint, range: *mut CXSourceRange) -> CXString; 2009 pub fn clang_getCursorExtent(cursor: CXCursor) -> CXSourceRange; [all …]
|
/external/llvm-project/clang/unittests/libclang/ |
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()
|
/external/llvm-project/clang/tools/c-index-test/ |
D | c-index-test.c | 418 static void PrintRange(CXSourceRange R, const char *str) { in PrintRange() 778 CXSourceRange CursorExtent; in PrintCursor() 779 CXSourceRange RefNameRange; in PrintCursor() 1212 CXSourceRange range; in PrintDiagnostic() 1284 CXSourceRange extent = clang_getCursorExtent(C); in PrintCursorExtent() 2476 CXSourceRange token_range = clang_getTokenExtent(translation_unit, *token); in print_token_range() 2562 CXSourceRange correction_range; in print_completion_result() 2912 CXSourceRange range = in inspect_print_cursor() 3028 CXSourceRange range = in inspect_evaluate_cursor() 3063 CXSourceRange range = in inspect_macroinfo_cursor() [all …]
|