summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CIndexHigh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/tools/libclang/CIndexHigh.cpp')
-rw-r--r--clang/tools/libclang/CIndexHigh.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/tools/libclang/CIndexHigh.cpp b/clang/tools/libclang/CIndexHigh.cpp
index 77e71c33932..af386d22764 100644
--- a/clang/tools/libclang/CIndexHigh.cpp
+++ b/clang/tools/libclang/CIndexHigh.cpp
@@ -367,6 +367,9 @@ void clang_findReferencesInFile(CXCursor cursor, CXFile file,
return;
}
+ if (Log)
+ *Log << cursor << " @" << static_cast<const FileEntry *>(file);
+
ASTUnit *CXXUnit = cxcursor::getCursorASTUnit(cursor);
if (!CXXUnit)
return;
OpenPOWER on IntegriCloud