diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-05-22 23:22:42 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-05-22 23:22:42 +0000 |
commit | 469f07969e9d8b8527bd82cf60341bfa27e4dcbc (patch) | |
tree | 6d6ef5470f4e5de4c22ce6b50491c1d2b630545a /clang/lib/CodeGen/CGDebugInfo.h | |
parent | 5174c84add18b6827ab7ab7771bd5a715f320bcc (diff) | |
download | bcm5719-llvm-469f07969e9d8b8527bd82cf60341bfa27e4dcbc.tar.gz bcm5719-llvm-469f07969e9d8b8527bd82cf60341bfa27e4dcbc.zip |
Debug Info: Handle function/method types using the most specific type
llvm-svn: 182533
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h index cca6e1ba31c..3f3d95745a3 100644 --- a/clang/lib/CodeGen/CGDebugInfo.h +++ b/clang/lib/CodeGen/CGDebugInfo.h @@ -129,12 +129,12 @@ class CGDebugInfo { llvm::DIType CreateSelfType(const QualType &QualTy, llvm::DIType Ty); llvm::DIType getTypeOrNull(const QualType); llvm::DIType getCompletedTypeOrNull(const QualType); - llvm::DIType getOrCreateMethodType(const CXXMethodDecl *Method, - llvm::DIFile F); - llvm::DIType getOrCreateInstanceMethodType( + llvm::DICompositeType getOrCreateMethodType(const CXXMethodDecl *Method, + llvm::DIFile F); + llvm::DICompositeType getOrCreateInstanceMethodType( QualType ThisPtr, const FunctionProtoType *Func, llvm::DIFile Unit); - llvm::DIType getOrCreateFunctionType(const Decl *D, QualType FnType, - llvm::DIFile F); + llvm::DICompositeType getOrCreateFunctionType(const Decl *D, QualType FnType, + llvm::DIFile F); llvm::DIType getOrCreateVTablePtrType(llvm::DIFile F); llvm::DINameSpace getOrCreateNameSpace(const NamespaceDecl *N); llvm::DIType CreatePointeeType(QualType PointeeTy, llvm::DIFile F); |