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 = { { nullptr, nullptr }, 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], nullptr }, 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], nullptr }, 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 | CXLoadedDiagnostic.cpp | 93 static CXSourceLocation makeLocation(const CXLoadedDiagnostic::Location *DLoc) { in makeLocation() 98 CXSourceLocation Loc = { { (void*) V, nullptr }, 0 }; in makeLocation() 102 CXSourceLocation CXLoadedDiagnostic::getLocation() const { in getLocation() 151 void CXLoadedDiagnostic::decodeLocation(CXSourceLocation location, in decodeLocation() 305 CXSourceLocation startLoc = makeLocation(Start); in readRange() 306 CXSourceLocation endLoc = makeLocation(End); in readRange()
|
D | CIndexDiagnostic.cpp | 45 CXSourceLocation Loc; 47 CXDiagnosticCustomNoteImpl(StringRef Msg, CXSourceLocation L) in CXDiagnosticCustomNoteImpl() 57 CXSourceLocation getLocation() const override { in getLocation() 124 CXSourceLocation L; in emitDiagnosticMessage() 146 CXSourceLocation L; in emitNote() 385 CXSourceLocation clang_getDiagnosticLocation(CXDiagnostic Diag) { in clang_getDiagnosticLocation()
|
D | CXLoadedDiagnostic.h | 35 CXSourceLocation getLocation() const override; 67 static void decodeLocation(CXSourceLocation location,
|
D | CIndexDiagnostic.h | 65 virtual CXSourceLocation getLocation() const = 0; 126 CXSourceLocation getLocation() const override;
|
D | CMakeLists.txt | 17 CXSourceLocation.cpp 28 CXSourceLocation.h
|
D | CIndexInclusionStack.cpp | 31 SmallVector<CXSourceLocation, 10> InclusionStack; in getInclusions()
|
D | CXStoredDiagnostic.cpp | 44 CXSourceLocation CXStoredDiagnostic::getLocation() const { in getLocation()
|
D | CLog.h | 71 Logger &operator<<(CXSourceLocation);
|
D | CIndex.cpp | 4367 CXSourceLocation CXLoc = clang_getCursorLocation(C); in clang_Cursor_getSpellingNameRange() 5006 CXCursor clang_getCursor(CXTranslationUnit TU, CXSourceLocation Loc) { in clang_getCursor() 5025 CXSourceLocation ResultLoc = clang_getCursorLocation(Result); in clang_getCursor() 5048 CXSourceLocation DefinitionLoc = clang_getCursorLocation(Definition); in clang_getCursor() 5146 CXSourceLocation clang_getCursorLocation(CXCursor C) { in clang_getCursorLocation() 6006 CXSourceLocation clang_getTokenLocation(CXTranslationUnit TU, CXToken CXTok) { in clang_getTokenLocation() 6833 CXSourceLocation bloc = clang_getTokenLocation(TU, Tokens[0]); in clang_annotateTokens() 6834 CXSourceLocation eloc = clang_getTokenLocation(TU, Tokens[NumTokens-1]); in clang_annotateTokens() 7961 Logger &cxindex::Logger::operator<<(CXSourceLocation Loc) { in operator <<() 7972 CXSourceLocation BLoc = clang_getRangeStart(range); in operator <<() [all …]
|
D | Indexing.cpp | 971 CXSourceLocation clang_indexLoc_getCXSourceLocation(CXIdxLoc location) { in clang_indexLoc_getCXSourceLocation()
|
/external/clang/include/clang-c/ |
D | Index.h | 370 } CXSourceLocation; typedef 387 CINDEX_LINKAGE CXSourceLocation clang_getNullLocation(void); 397 CINDEX_LINKAGE unsigned clang_equalLocations(CXSourceLocation loc1, 398 CXSourceLocation loc2); 404 CINDEX_LINKAGE CXSourceLocation clang_getLocation(CXTranslationUnit tu, 412 CINDEX_LINKAGE CXSourceLocation clang_getLocationForOffset(CXTranslationUnit tu, 419 CINDEX_LINKAGE int clang_Location_isInSystemHeader(CXSourceLocation location); 425 CINDEX_LINKAGE int clang_Location_isFromMainFile(CXSourceLocation location); 436 CINDEX_LINKAGE CXSourceRange clang_getRange(CXSourceLocation begin, 437 CXSourceLocation end); [all …]
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 699 CXSourceLocation Loc; in PrintCursor() 709 CXSourceLocation Loc = clang_getCursorLocation(Referenced); in PrintCursor() 832 CXSourceLocation Loc = clang_getCursorLocation(SpecializationOf); in PrintCursor() 874 CXSourceLocation Loc = clang_getCursorLocation(overridden[I]); in PrintCursor() 964 CXSourceLocation Loc = clang_getCursorLocation(Cursor); in GetCursorSource() 1012 CXSourceLocation start = clang_getRangeStart(range); in PrintDiagnostic() 1013 CXSourceLocation end = clang_getRangeEnd(range); in PrintDiagnostic() 1099 CXSourceLocation Loc = clang_getCursorLocation(Cursor); in FilteredPrintingVisitor() 1150 CXSourceLocation Loc; in FunctionScanVisitor() 1166 CXSourceLocation RefLoc in FunctionScanVisitor() [all …]
|