Fix the test I broke, and also fix a crash when declaring a virtual destructor. Add debug info support for pure virtual member functions.
llvm-svn: 94519
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h
index e785bef..405f02b 100644
--- a/clang/lib/CodeGen/CGDebugInfo.h
+++ b/clang/lib/CodeGen/CGDebugInfo.h
@@ -88,7 +88,7 @@
const Type *Ty, QualType PointeeTy,
llvm::DICompileUnit U);
- llvm::DISubprogram CreateCXXMemberFunction(GlobalDecl GD,
+ llvm::DISubprogram CreateCXXMemberFunction(const CXXMethodDecl *Method,
llvm::DICompileUnit Unit,
llvm::DICompositeType &RecordTy);