aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/clang/lib/Index/FileIndexRecord.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/clang/lib/Index/FileIndexRecord.cpp')
-rw-r--r--contrib/llvm-project/clang/lib/Index/FileIndexRecord.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/clang/lib/Index/FileIndexRecord.cpp b/contrib/llvm-project/clang/lib/Index/FileIndexRecord.cpp
index 753bdf2ce21d..df18a9aed8b7 100644
--- a/contrib/llvm-project/clang/lib/Index/FileIndexRecord.cpp
+++ b/contrib/llvm-project/clang/lib/Index/FileIndexRecord.cpp
@@ -52,7 +52,7 @@ void FileIndexRecord::print(llvm::raw_ostream &OS) const {
<< ':' << PLoc.getColumn();
if (auto ND = dyn_cast<NamedDecl>(D)) {
- OS << ' ' << ND->getNameAsString();
+ OS << ' ' << ND->getDeclName();
}
OS << '\n';