Home
last modified time | relevance | path

Searched refs:CXSourceLocation (Results 1 – 17 of 17) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXSourceLocation.cpp31 static bool isASTUnitSourceLocation(const CXSourceLocation &L) { in isASTUnitSourceLocation()
41 CXSourceLocation clang_getNullLocation() { in clang_getNullLocation()
42 CXSourceLocation Result = { { nullptr, nullptr }, 0 }; in clang_getNullLocation()
46 unsigned clang_equalLocations(CXSourceLocation loc1, CXSourceLocation loc2) { in clang_equalLocations()
57 CXSourceRange clang_getRange(CXSourceLocation begin, CXSourceLocation end) { in clang_getRange()
87 CXSourceLocation clang_getRangeStart(CXSourceRange range) { in clang_getRangeStart()
90 CXSourceLocation Result = { { range.ptr_data[0], nullptr }, 0 }; in clang_getRangeStart()
94 CXSourceLocation Result = { { range.ptr_data[0], range.ptr_data[1] }, in clang_getRangeStart()
99 CXSourceLocation clang_getRangeEnd(CXSourceRange range) { in clang_getRangeEnd()
102 CXSourceLocation Result = { { range.ptr_data[1], nullptr }, 0 }; in clang_getRangeEnd()
[all …]
H A DCXSourceLocation.h28 static inline CXSourceLocation
34 CXSourceLocation Result = { { &SM, &LangOpts, }, in translateSourceLocation()
40 static inline CXSourceLocation translateSourceLocation(ASTContext &Context, in translateSourceLocation()
65 static inline SourceLocation translateSourceLocation(CXSourceLocation L) { in translateSourceLocation()
H A DCXLoadedDiagnostic.cpp90 static CXSourceLocation makeLocation(const CXLoadedDiagnostic::Location *DLoc) { in makeLocation()
95 CXSourceLocation Loc = { { (void*) V, nullptr }, 0 }; in makeLocation()
99 CXSourceLocation CXLoadedDiagnostic::getLocation() const { in getLocation()
148 void CXLoadedDiagnostic::decodeLocation(CXSourceLocation location, in decodeLocation()
302 CXSourceLocation startLoc = makeLocation(Start); in readRange()
303 CXSourceLocation endLoc = makeLocation(End); in readRange()
H A DCIndexDiagnostic.cpp42 CXSourceLocation Loc;
44 CXDiagnosticCustomNoteImpl(StringRef Msg, CXSourceLocation L) in CXDiagnosticCustomNoteImpl()
54 CXSourceLocation getLocation() const override { return Loc; } in getLocation()
117 CXSourceLocation L; in emitDiagnosticMessage()
135 CXSourceLocation L; in emitNote()
372 CXSourceLocation clang_getDiagnosticLocation(CXDiagnostic Diag) { in clang_getDiagnosticLocation()
H A DCXLoadedDiagnostic.h34 CXSourceLocation getLocation() const override;
66 static void decodeLocation(CXSourceLocation location,
H A DCIndexDiagnostic.h65 virtual CXSourceLocation getLocation() const = 0;
126 CXSourceLocation getLocation() const override;
H A DCMakeLists.txt17 CXSourceLocation.cpp
30 CXSourceLocation.h
H A DRewrite.cpp27 void clang_CXRewriter_insertTextBefore(CXRewriter Rew, CXSourceLocation Loc, in clang_CXRewriter_insertTextBefore()
H A DCIndexInclusionStack.cpp27 SmallVector<CXSourceLocation, 10> InclusionStack; in getInclusions()
H A DCXStoredDiagnostic.cpp40 CXSourceLocation CXStoredDiagnostic::getLocation() const { in getLocation()
H A DCLog.h70 Logger &operator<<(CXSourceLocation);
H A DCIndex.cpp4873 CXSourceLocation CXLoc = clang_getCursorLocation(C); in clang_Cursor_getSpellingNameRange()
5826 CXCursor clang_getCursor(CXTranslationUnit TU, CXSourceLocation Loc) { in clang_getCursor()
5845 CXSourceLocation ResultLoc = clang_getCursorLocation(Result); in clang_getCursor()
5868 CXSourceLocation DefinitionLoc = clang_getCursorLocation(Definition); in clang_getCursor()
5973 CXSourceLocation clang_getCursorLocation(CXCursor C) { in clang_getCursorLocation()
6837 CXSourceLocation clang_getTokenLocation(CXTranslationUnit TU, CXToken CXTok) { in clang_getTokenLocation()
6935 CXToken *clang_getToken(CXTranslationUnit TU, CXSourceLocation Location) { in clang_getToken()
7813 CXSourceLocation bloc = clang_getTokenLocation(TU, Tokens[0]); in clang_annotateTokens()
7814 CXSourceLocation eloc = clang_getTokenLocation(TU, Tokens[NumTokens - 1]); in clang_annotateTokens()
9124 Logger &cxindex::Logger::operator<<(CXSourceLocation Loc) { in operator <<()
[all …]
H A DIndexing.cpp989 CXSourceLocation clang_indexLoc_getCXSourceLocation(CXIdxLoc location) { in clang_indexLoc_getCXSourceLocation()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang-c/
H A DIndex.h459 } CXSourceLocation; typedef
476 CINDEX_LINKAGE CXSourceLocation clang_getNullLocation(void);
486 CINDEX_LINKAGE unsigned clang_equalLocations(CXSourceLocation loc1,
487 CXSourceLocation loc2);
493 CINDEX_LINKAGE CXSourceLocation clang_getLocation(CXTranslationUnit tu,
500 CINDEX_LINKAGE CXSourceLocation clang_getLocationForOffset(CXTranslationUnit tu,
507 CINDEX_LINKAGE int clang_Location_isInSystemHeader(CXSourceLocation location);
513 CINDEX_LINKAGE int clang_Location_isFromMainFile(CXSourceLocation location);
524 CINDEX_LINKAGE CXSourceRange clang_getRange(CXSourceLocation begin,
525 CXSourceLocation end);
[all …]
H A DRewrite.h30 CINDEX_LINKAGE void clang_CXRewriter_insertTextBefore(CXRewriter Rew, CXSourceLocation Loc,
/netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/secondary/clang/tools/libclang/
H A DBUILD.gn75 "CXSourceLocation.cpp",
76 "CXSourceLocation.h",
/netbsd-src/external/apache2/llvm/dist/clang/tools/c-index-test/
H A Dc-index-test.c803 CXSourceLocation Loc; in PrintCursor()
813 CXSourceLocation Loc = clang_getCursorLocation(Referenced); in PrintCursor()
996 CXSourceLocation Loc = clang_getCursorLocation(SpecializationOf); in PrintCursor()
1041 CXSourceLocation Loc = clang_getCursorLocation(overridden[I]); in PrintCursor()
1160 CXSourceLocation Loc = clang_getCursorLocation(Cursor); in GetCursorSource()
1215 CXSourceLocation start = clang_getRangeStart(range); in PrintDiagnostic()
1216 CXSourceLocation end = clang_getRangeEnd(range); in PrintDiagnostic()
1302 CXSourceLocation Loc = clang_getCursorLocation(Cursor); in FilteredPrintingVisitor()
1353 CXSourceLocation Loc; in FunctionScanVisitor()
1369 CXSourceLocation RefLoc in FunctionScanVisitor()
[all …]