diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-04-19 06:56:38 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-04-19 06:56:38 +0000 |
commit | bfa5274df5a15fd0fcdc6c93caa374f4feed60db (patch) | |
tree | 3299c15635a44c01224a0cc027aba3818f22e93a /clang/lib/CodeGen/CGDebugInfo.h | |
parent | 77bf0afcc8040a419fc39a64df8ee64fd737e63c (diff) | |
download | bcm5719-llvm-bfa5274df5a15fd0fcdc6c93caa374f4feed60db.tar.gz bcm5719-llvm-bfa5274df5a15fd0fcdc6c93caa374f4feed60db.zip |
Give CGDebugInfo::getContextDescriptor a more specific return type
Not that the DI* hierarchy is terribly type safe, but this makes the contract a
little clearer I think.
llvm-svn: 179835
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h index 3a0df999b54..060b7380580 100644 --- a/clang/lib/CodeGen/CGDebugInfo.h +++ b/clang/lib/CodeGen/CGDebugInfo.h @@ -281,7 +281,7 @@ private: uint64_t *OffSet); /// getContextDescriptor - Get context info for the decl. - llvm::DIDescriptor getContextDescriptor(const Decl *Decl); + llvm::DIScope getContextDescriptor(const Decl *Decl); /// createRecordFwdDecl - Create a forward decl for a RecordType in a given /// context. |