|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/include/clang-c/Index.h 482 CINDEX_LINKAGE CXSourceLocation clang_getNullLocation(void);
492 CINDEX_LINKAGE unsigned clang_equalLocations(CXSourceLocation loc1,
493 CXSourceLocation loc2);
499 CINDEX_LINKAGE CXSourceLocation clang_getLocation(CXTranslationUnit tu,
507 CINDEX_LINKAGE CXSourceLocation clang_getLocationForOffset(CXTranslationUnit tu,
514 CINDEX_LINKAGE int clang_Location_isInSystemHeader(CXSourceLocation location);
520 CINDEX_LINKAGE int clang_Location_isFromMainFile(CXSourceLocation location);
531 CINDEX_LINKAGE CXSourceRange clang_getRange(CXSourceLocation begin,
532 CXSourceLocation end);
569 CINDEX_LINKAGE void clang_getExpansionLocation(CXSourceLocation location,
615 CINDEX_LINKAGE void clang_getPresumedLocation(CXSourceLocation location,
628 CINDEX_LINKAGE void clang_getInstantiationLocation(CXSourceLocation location,
656 CINDEX_LINKAGE void clang_getSpellingLocation(CXSourceLocation location,
685 CINDEX_LINKAGE void clang_getFileLocation(CXSourceLocation location,
695 CINDEX_LINKAGE CXSourceLocation clang_getRangeStart(CXSourceRange range);
701 CINDEX_LINKAGE CXSourceLocation clang_getRangeEnd(CXSourceRange range);
1009 CINDEX_LINKAGE CXSourceLocation clang_getDiagnosticLocation(CXDiagnostic);
3174 CINDEX_LINKAGE CXCursor clang_getCursor(CXTranslationUnit, CXSourceLocation);
3186 CINDEX_LINKAGE CXSourceLocation clang_getCursorLocation(CXCursor);
4956 CXSourceLocation Location);
4974 CINDEX_LINKAGE CXSourceLocation clang_getTokenLocation(CXTranslationUnit,
5909 CXSourceLocation* inclusion_stack,
6727 CXSourceLocation clang_indexLoc_getCXSourceLocation(CXIdxLoc loc);
tools/clang/tools/c-index-test/c-index-test.c 799 CXSourceLocation Loc;
809 CXSourceLocation Loc = clang_getCursorLocation(Referenced);
992 CXSourceLocation Loc = clang_getCursorLocation(SpecializationOf);
1037 CXSourceLocation Loc = clang_getCursorLocation(overridden[I]);
1156 CXSourceLocation Loc = clang_getCursorLocation(Cursor);
1211 CXSourceLocation start = clang_getRangeStart(range);
1212 CXSourceLocation end = clang_getRangeEnd(range);
1298 CXSourceLocation Loc = clang_getCursorLocation(Cursor);
1349 CXSourceLocation Loc;
1365 CXSourceLocation RefLoc
1414 void InclusionVisitor(CXFile includedFile, CXSourceLocation *includeStack,
2445 static void print_line_column(CXSourceLocation location, FILE *file) {
2452 CXSourceLocation start, FILE *file) {
2879 CXSourceLocation CursorLoc = clang_getCursorLocation(Cursor);
2993 CXSourceLocation CursorLoc = clang_getCursorLocation(Cursor);
3030 CXSourceLocation CursorLoc = clang_getCursorLocation(Cursor);
4118 CXSourceLocation startLoc, endLoc;
4615 static void printLocation(CXSourceLocation L) {
4631 CXSourceLocation Start, End;
4671 CXSourceLocation DiagLoc;
tools/clang/tools/libclang/CIndex.cpp 4738 CXSourceLocation CXLoc = clang_getCursorLocation(C);
5659 CXCursor clang_getCursor(CXTranslationUnit TU, CXSourceLocation Loc) {
5678 CXSourceLocation ResultLoc = clang_getCursorLocation(Result);
5701 CXSourceLocation DefinitionLoc = clang_getCursorLocation(Definition);
5808 CXSourceLocation clang_getCursorLocation(CXCursor C) {
6673 CXSourceLocation clang_getTokenLocation(CXTranslationUnit TU, CXToken CXTok) {
6773 CXToken *clang_getToken(CXTranslationUnit TU, CXSourceLocation Location) {
7662 CXSourceLocation bloc = clang_getTokenLocation(TU, Tokens[0]);
7663 CXSourceLocation eloc = clang_getTokenLocation(TU, Tokens[NumTokens-1]);
8924 Logger &cxindex::Logger::operator<<(CXSourceLocation Loc) {
8935 CXSourceLocation BLoc = clang_getRangeStart(range);
8936 CXSourceLocation ELoc = clang_getRangeEnd(range);
tools/clang/tools/libclang/CIndexDiagnostic.cpp 42 CXSourceLocation Loc;
44 CXDiagnosticCustomNoteImpl(StringRef Msg, CXSourceLocation L)
54 CXSourceLocation getLocation() const override {
119 CXSourceLocation L;
137 CXSourceLocation L;
374 CXSourceLocation clang_getDiagnosticLocation(CXDiagnostic Diag) {
tools/clang/tools/libclang/CIndexDiagnostic.h 65 virtual CXSourceLocation getLocation() const = 0;
126 CXSourceLocation getLocation() const override;
tools/clang/tools/libclang/CIndexInclusionStack.cpp 28 SmallVector<CXSourceLocation, 10> InclusionStack;
tools/clang/tools/libclang/CLog.h 70 Logger &operator<<(CXSourceLocation);
tools/clang/tools/libclang/CXLoadedDiagnostic.cpp 90 static CXSourceLocation makeLocation(const CXLoadedDiagnostic::Location *DLoc) {
95 CXSourceLocation Loc = { { (void*) V, nullptr }, 0 };
99 CXSourceLocation CXLoadedDiagnostic::getLocation() const {
148 void CXLoadedDiagnostic::decodeLocation(CXSourceLocation location,
302 CXSourceLocation startLoc = makeLocation(Start);
303 CXSourceLocation endLoc = makeLocation(End);
tools/clang/tools/libclang/CXLoadedDiagnostic.h 34 CXSourceLocation getLocation() const override;
66 static void decodeLocation(CXSourceLocation location,
tools/clang/tools/libclang/CXSourceLocation.cpp 30 static bool isASTUnitSourceLocation(const CXSourceLocation &L) {
40 CXSourceLocation clang_getNullLocation() {
41 CXSourceLocation Result = { { nullptr, nullptr }, 0 };
45 unsigned clang_equalLocations(CXSourceLocation loc1, CXSourceLocation loc2) {
45 unsigned clang_equalLocations(CXSourceLocation loc1, CXSourceLocation loc2) {
56 CXSourceRange clang_getRange(CXSourceLocation begin, CXSourceLocation end) {
56 CXSourceRange clang_getRange(CXSourceLocation begin, CXSourceLocation end) {
86 CXSourceLocation clang_getRangeStart(CXSourceRange range) {
89 CXSourceLocation Result = { { range.ptr_data[0], nullptr }, 0 };
93 CXSourceLocation Result = { { range.ptr_data[0], range.ptr_data[1] },
98 CXSourceLocation clang_getRangeEnd(CXSourceRange range) {
101 CXSourceLocation Result = { { range.ptr_data[1], nullptr }, 0 };
105 CXSourceLocation Result = { { range.ptr_data[0], range.ptr_data[1] },
114 CXSourceLocation clang_getLocation(CXTranslationUnit TU,
139 CXSourceLocation CXLoc =
149 CXSourceLocation clang_getLocationForOffset(CXTranslationUnit TU,
199 int clang_Location_isInSystemHeader(CXSourceLocation location) {
210 int clang_Location_isFromMainFile(CXSourceLocation location) {
221 void clang_getExpansionLocation(CXSourceLocation location,
262 void clang_getPresumedLocation(CXSourceLocation location,
293 void clang_getInstantiationLocation(CXSourceLocation location,
302 void clang_getSpellingLocation(CXSourceLocation location,
339 void clang_getFileLocation(CXSourceLocation location,
tools/clang/tools/libclang/CXSourceLocation.h 28 static inline CXSourceLocation
34 CXSourceLocation Result = { { &SM, &LangOpts, },
40 static inline CXSourceLocation translateSourceLocation(ASTContext &Context,
65 static inline SourceLocation translateSourceLocation(CXSourceLocation L) {
tools/clang/tools/libclang/CXStoredDiagnostic.cpp 40 CXSourceLocation CXStoredDiagnostic::getLocation() const {
tools/clang/tools/libclang/Indexing.cpp 990 CXSourceLocation clang_indexLoc_getCXSourceLocation(CXIdxLoc location) {
tools/clang/unittests/libclang/LibclangTest.cpp 374 CXSourceLocation cxl;
629 CXSourceLocation cxl;