From f1b382e87df86b5fee84c9aeb2d7b6fad6862514 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Sun, 6 Apr 2014 17:14:06 +0000 Subject: DebugInfo: Support type alias templates We already got the type alias correct (though I've included a test case here) since Clang represents that like any other typedef - but type alias templates weren't being handled. llvm-svn: 205691 --- clang/lib/CodeGen/CGDebugInfo.h | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/CodeGen/CGDebugInfo.h') diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h index 52784daf630..ea2998b1cb7 100644 --- a/clang/lib/CodeGen/CGDebugInfo.h +++ b/clang/lib/CodeGen/CGDebugInfo.h @@ -109,6 +109,7 @@ class CGDebugInfo { llvm::DIType CreateType(const ComplexType *Ty); llvm::DIType CreateQualifiedType(QualType Ty, llvm::DIFile Fg); llvm::DIType CreateType(const TypedefType *Ty, llvm::DIFile Fg); + llvm::DIType CreateType(const TemplateSpecializationType *Ty, llvm::DIFile Fg); llvm::DIType CreateType(const ObjCObjectPointerType *Ty, llvm::DIFile F); llvm::DIType CreateType(const PointerType *Ty, llvm::DIFile F); -- cgit v1.2.3