summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-04-19 06:56:38 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-04-19 06:56:38 +0000
commitbfa5274df5a15fd0fcdc6c93caa374f4feed60db (patch)
tree3299c15635a44c01224a0cc027aba3818f22e93a /clang/lib/CodeGen/CGDebugInfo.h
parent77bf0afcc8040a419fc39a64df8ee64fd737e63c (diff)
downloadbcm5719-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.h2
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.
OpenPOWER on IntegriCloud