diff options
Diffstat (limited to 'lib/Index/IndexDecl.cpp')
-rw-r--r-- | lib/Index/IndexDecl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Index/IndexDecl.cpp b/lib/Index/IndexDecl.cpp index 0e89350551..9bf19270e8 100644 --- a/lib/Index/IndexDecl.cpp +++ b/lib/Index/IndexDecl.cpp @@ -231,10 +231,11 @@ public: } bool VisitTypedefNameDecl(const TypedefNameDecl *D) { - if (!D->isTransparentTag()) + if (!D->isTransparentTag()) { if (!IndexCtx.handleDecl(D)) return false; - IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), D); + IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), D); + } return true; } |