Searched refs:CXSourceLocation (Results 1 – 14 of 14) sorted by relevance
/external/clang/tools/libclang/ |
D | CXSourceLocation.cpp | 31 static bool isASTUnitSourceLocation(const CXSourceLocation &L) { in isASTUnitSourceLocation() 43 CXSourceLocation clang_getNullLocation() { in clang_getNullLocation() 44 CXSourceLocation Result = { { 0, 0 }, 0 }; in clang_getNullLocation() 48 unsigned clang_equalLocations(CXSourceLocation loc1, CXSourceLocation loc2) { in clang_equalLocations() 59 CXSourceRange clang_getRange(CXSourceLocation begin, CXSourceLocation end) { in clang_getRange() 89 CXSourceLocation clang_getRangeStart(CXSourceRange range) { in clang_getRangeStart() 92 CXSourceLocation Result = { { range.ptr_data[0], 0 }, 0 }; in clang_getRangeStart() 96 CXSourceLocation Result = { { range.ptr_data[0], range.ptr_data[1] }, in clang_getRangeStart() 101 CXSourceLocation clang_getRangeEnd(CXSourceRange range) { in clang_getRangeEnd() 104 CXSourceLocation Result = { { range.ptr_data[1], 0 }, 0 }; in clang_getRangeEnd() [all …]
|
D | CXSourceLocation.h | 29 static inline CXSourceLocation 35 CXSourceLocation Result = { { &SM, &LangOpts, }, in translateSourceLocation() 41 static inline CXSourceLocation translateSourceLocation(ASTContext &Context, in translateSourceLocation() 66 static inline SourceLocation translateSourceLocation(CXSourceLocation L) { in translateSourceLocation()
|
D | CIndexDiagnostic.cpp | 47 CXSourceLocation Loc; 49 CXDiagnosticCustomNoteImpl(StringRef Msg, CXSourceLocation L) in CXDiagnosticCustomNoteImpl() 59 CXSourceLocation getLocation() const { in getLocation() 122 CXSourceLocation L; in emitDiagnosticMessage() 144 CXSourceLocation L; in emitNote() 370 CXSourceLocation clang_getDiagnosticLocation(CXDiagnostic Diag) { in clang_getDiagnosticLocation()
|
D | CXLoadedDiagnostic.h | 35 virtual CXSourceLocation getLocation() const; 67 static void decodeLocation(CXSourceLocation location,
|
D | CIndexDiagnostic.h | 66 virtual CXSourceLocation getLocation() const = 0; 127 virtual CXSourceLocation getLocation() const;
|
D | CXLoadedDiagnostic.cpp | 82 static CXSourceLocation makeLocation(const CXLoadedDiagnostic::Location *DLoc) { in makeLocation() 87 CXSourceLocation Loc = { { (void*) V, 0 }, 0 }; in makeLocation() 91 CXSourceLocation CXLoadedDiagnostic::getLocation() const { in getLocation() 140 void CXLoadedDiagnostic::decodeLocation(CXSourceLocation location, in decodeLocation() 521 CXSourceLocation startLoc = makeLocation(Start); in readRange() 522 CXSourceLocation endLoc = makeLocation(End); in readRange()
|
D | CMakeLists.txt | 27 CXSourceLocation.cpp 28 CXSourceLocation.h
|
D | CIndexInclusionStack.cpp | 32 SmallVector<CXSourceLocation, 10> InclusionStack; in clang_getInclusions()
|
D | CXStoredDiagnostic.cpp | 42 CXSourceLocation CXStoredDiagnostic::getLocation() const { in getLocation()
|
D | CLog.h | 70 Logger &operator<<(CXSourceLocation);
|
D | CIndex.cpp | 3431 CXSourceLocation CXLoc = clang_getCursorLocation(C); in clang_Cursor_getSpellingNameRange() 3933 CXCursor clang_getCursor(CXTranslationUnit TU, CXSourceLocation Loc) { in clang_getCursor() 3950 CXSourceLocation ResultLoc = clang_getCursorLocation(Result); in clang_getCursor() 3972 CXSourceLocation DefinitionLoc = clang_getCursorLocation(Definition); in clang_getCursor() 4070 CXSourceLocation clang_getCursorLocation(CXCursor C) { in clang_getCursorLocation() 4907 CXSourceLocation clang_getTokenLocation(CXTranslationUnit TU, CXToken CXTok) { in clang_getTokenLocation() 5719 CXSourceLocation bloc = clang_getTokenLocation(TU, Tokens[0]); in clang_annotateTokens() 5720 CXSourceLocation eloc = clang_getTokenLocation(TU, Tokens[NumTokens-1]); in clang_annotateTokens() 6627 Logger &cxindex::Logger::operator<<(CXSourceLocation Loc) { in operator <<() 6638 CXSourceLocation BLoc = clang_getRangeStart(range); in operator <<() [all …]
|
D | Indexing.cpp | 1071 CXSourceLocation clang_indexLoc_getCXSourceLocation(CXIdxLoc location) { in clang_indexLoc_getCXSourceLocation()
|
/external/clang/include/clang-c/ |
D | Index.h | 365 } CXSourceLocation; typedef 382 CINDEX_LINKAGE CXSourceLocation clang_getNullLocation(void); 392 CINDEX_LINKAGE unsigned clang_equalLocations(CXSourceLocation loc1, 393 CXSourceLocation loc2); 399 CINDEX_LINKAGE CXSourceLocation clang_getLocation(CXTranslationUnit tu, 407 CINDEX_LINKAGE CXSourceLocation clang_getLocationForOffset(CXTranslationUnit tu, 414 CINDEX_LINKAGE int clang_Location_isInSystemHeader(CXSourceLocation location); 425 CINDEX_LINKAGE CXSourceRange clang_getRange(CXSourceLocation begin, 426 CXSourceLocation end); 463 CINDEX_LINKAGE void clang_getExpansionLocation(CXSourceLocation location, [all …]
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 616 CXSourceLocation Loc; in PrintCursor() 626 CXSourceLocation Loc = clang_getCursorLocation(Referenced); in PrintCursor() 734 CXSourceLocation Loc = clang_getCursorLocation(SpecializationOf); in PrintCursor() 749 CXSourceLocation Loc = clang_getCursorLocation(overridden[I]); in PrintCursor() 838 CXSourceLocation Loc = clang_getCursorLocation(Cursor); in GetCursorSource() 886 CXSourceLocation start = clang_getRangeStart(range); in PrintDiagnostic() 887 CXSourceLocation end = clang_getRangeEnd(range); in PrintDiagnostic() 974 CXSourceLocation Loc = clang_getCursorLocation(Cursor); in FilteredPrintingVisitor() 1025 CXSourceLocation Loc; in FunctionScanVisitor() 1041 CXSourceLocation RefLoc in FunctionScanVisitor() [all …]
|