aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/include-cleaner/lib/WalkAST.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/include-cleaner/lib/WalkAST.cpp')
-rw-r--r--clang-tools-extra/include-cleaner/lib/WalkAST.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/include-cleaner/lib/WalkAST.cpp b/clang-tools-extra/include-cleaner/lib/WalkAST.cpp
index 7bbdc8b..d444ddd 100644
--- a/clang-tools-extra/include-cleaner/lib/WalkAST.cpp
+++ b/clang-tools-extra/include-cleaner/lib/WalkAST.cpp
@@ -342,7 +342,7 @@ public:
}
bool VisitTagTypeLoc(TagTypeLoc TTL) {
- reportType(TTL.getNameLoc(), TTL.getOriginalDecl());
+ reportType(TTL.getNameLoc(), TTL.getDecl());
return true;
}