diff options
author | Eric Christopher <echristo@apple.com> | 2012-04-23 19:00:11 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-04-23 19:00:11 +0000 |
commit | 216432df5ac897327a0cb6323f08811910481038 (patch) | |
tree | d7d724e25a201502fc9f16809ae0081c9c9753a6 /include | |
parent | e3fd2a36d93ed65fabe9cd8e1c98edd8d4f7ec62 (diff) |
Allow forward declarations to take a context. This helps the debugger
find forward declarations in the context that the actual definition
will occur.
rdar://11291658
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155380 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/DIBuilder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/DIBuilder.h b/include/llvm/Analysis/DIBuilder.h index 2d109cdbf0..d79c2d5c2a 100644 --- a/include/llvm/Analysis/DIBuilder.h +++ b/include/llvm/Analysis/DIBuilder.h @@ -348,8 +348,8 @@ namespace llvm { DIType createTemporaryType(DIFile F); /// createForwardDecl - Create a temporary forward-declared type. - DIType createForwardDecl(unsigned Tag, StringRef Name, DIFile F, - unsigned Line, unsigned RuntimeLang = 0); + DIType createForwardDecl(unsigned Tag, StringRef Name, DIDescriptor Scope, + DIFile F, unsigned Line, unsigned RuntimeLang = 0); /// retainType - Retain DIType in a module even if it is not referenced /// through debug info anchors. |