|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/include/clang-c/Index.h 525 CINDEX_LINKAGE CXSourceRange clang_getNullRange(void);
531 CINDEX_LINKAGE CXSourceRange clang_getRange(CXSourceLocation begin,
539 CINDEX_LINKAGE unsigned clang_equalRanges(CXSourceRange range1,
540 CXSourceRange range2);
545 CINDEX_LINKAGE int clang_Range_isNull(CXSourceRange range);
695 CINDEX_LINKAGE CXSourceLocation clang_getRangeStart(CXSourceRange range);
701 CINDEX_LINKAGE CXSourceLocation clang_getRangeEnd(CXSourceRange range);
712 CXSourceRange *ranges;
1082 CINDEX_LINKAGE CXSourceRange clang_getDiagnosticRange(CXDiagnostic Diagnostic,
1118 CXSourceRange *ReplacementRange);
3199 CINDEX_LINKAGE CXSourceRange clang_getCursorExtent(CXCursor);
4294 CINDEX_LINKAGE CXSourceRange clang_Cursor_getSpellingNameRange(CXCursor,
4594 CINDEX_LINKAGE CXSourceRange clang_Cursor_getCommentRange(CXCursor C);
4862 CINDEX_LINKAGE CXSourceRange clang_getCursorReferenceNameRange(CXCursor C,
4980 CINDEX_LINKAGE CXSourceRange clang_getTokenExtent(CXTranslationUnit, CXToken);
4999 CINDEX_LINKAGE void clang_tokenize(CXTranslationUnit TU, CXSourceRange Range,
5515 unsigned fixit_index, CXSourceRange *replacement_range);
6070 enum CXVisitorResult (*visit)(void *context, CXCursor, CXSourceRange);
tools/clang/tools/c-index-test/c-index-test.c 418 static void PrintRange(CXSourceRange R, const char *str) {
775 CXSourceRange CursorExtent;
776 CXSourceRange RefNameRange;
1209 CXSourceRange range;
1281 CXSourceRange extent = clang_getCursorExtent(C);
2457 CXSourceRange token_range = clang_getTokenExtent(translation_unit, *token);
2543 CXSourceRange correction_range;
2893 CXSourceRange range =
3009 CXSourceRange range =
3044 CXSourceRange range =
3063 CXCursor cursor, CXSourceRange range) {
3177 CXCursor cursor, CXSourceRange range) {
4117 CXSourceRange range;
4231 CXSourceRange extent = clang_getTokenExtent(TU, tokens[i]);
4632 CXSourceRange SR = clang_getDiagnosticRange(D, i);
4649 CXSourceRange ReplacementRange;
tools/clang/tools/libclang/CIndex.cpp 142 CXSourceRange cxloc::translateSourceRange(const SourceManager &SM,
160 CXSourceRange Result = {
4648 CXSourceRange clang_Cursor_getSpellingNameRange(CXCursor C,
6115 CXSourceRange clang_getCursorExtent(CXCursor C) {
6554 CXSourceRange clang_getCursorReferenceNameRange(CXCursor C, unsigned NameFlags,
6687 CXSourceRange clang_getTokenExtent(CXTranslationUnit TU, CXToken CXTok) {
6809 void clang_tokenize(CXTranslationUnit TU, CXSourceRange Range,
7304 const CXSourceRange CXRefNameRange = clang_getCursorReferenceNameRange(
8217 CXSourceRange clang_Cursor_getCommentRange(CXCursor C) {
8691 skipped->ranges = new CXSourceRange[skipped->count];
8718 skipped->ranges = new CXSourceRange[skipped->count];
8934 Logger &cxindex::Logger::operator<<(CXSourceRange range) {
tools/clang/tools/libclang/CIndexCodeCompletion.cpp 325 CXSourceRange *replacement_range) {
tools/clang/tools/libclang/CIndexDiagnostic.cpp 72 CXSourceRange getRange(unsigned Range) const override {
77 CXSourceRange *ReplacementRange) const override {
271 CXSourceRange Range = clang_getDiagnosticRange(Diagnostic, I);
419 CXSourceRange clang_getDiagnosticRange(CXDiagnostic Diag, unsigned Range) {
433 CXSourceRange *ReplacementRange) {
tools/clang/tools/libclang/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;
tools/clang/tools/libclang/CIndexHigh.cpp 513 CXSourceRange range) {
tools/clang/tools/libclang/CLog.h 71 Logger &operator<<(CXSourceRange);
tools/clang/tools/libclang/CXLoadedDiagnostic.cpp 131 CXSourceRange CXLoadedDiagnostic::getRange(unsigned Range) const {
141 CXSourceRange *ReplacementRange) const {
207 CXSourceRange &SR);
291 CXSourceRange &SR) {
353 CXSourceRange SR;
364 CXSourceRange SR;
tools/clang/tools/libclang/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;
tools/clang/tools/libclang/CXSourceLocation.cpp 51 CXSourceRange clang_getNullRange() {
52 CXSourceRange Result = { { nullptr, nullptr }, 0, 0 };
56 CXSourceRange clang_getRange(CXSourceLocation begin, CXSourceLocation end) {
60 CXSourceRange Result = { { begin.ptr_data[0], end.ptr_data[0] }, 0, 0 };
68 CXSourceRange Result = { { begin.ptr_data[0], begin.ptr_data[1] },
74 unsigned clang_equalRanges(CXSourceRange range1, CXSourceRange range2) {
74 unsigned clang_equalRanges(CXSourceRange range1, CXSourceRange range2) {
81 int clang_Range_isNull(CXSourceRange range) {
86 CXSourceLocation clang_getRangeStart(CXSourceRange range) {
98 CXSourceLocation clang_getRangeEnd(CXSourceRange range) {
tools/clang/tools/libclang/CXSourceLocation.h 53 CXSourceRange translateSourceRange(const SourceManager &SM,
58 static inline CXSourceRange translateSourceRange(ASTContext &Context,
69 static inline SourceRange translateCXSourceRange(CXSourceRange R) {
tools/clang/tools/libclang/CXStoredDiagnostic.cpp 86 CXSourceRange CXStoredDiagnostic::getRange(unsigned int Range) const {
100 CXSourceRange *ReplacementRange) const {
tools/clang/tools/libclang/Index_Internal.h 37 CXCursor, CXSourceRange);
tools/clang/unittests/libclang/LibclangTest.cpp 712 CXSourceRange Range =