diff options
author | Eric Christopher <echristo@apple.com> | 2012-02-08 00:22:26 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-02-08 00:22:26 +0000 |
commit | 4fe345729285ae634c657ab854057464d03220f7 (patch) | |
tree | 5011a494b597859b107c6923354a081173122cb7 /include/llvm/Analysis | |
parent | 9f99721a1882cdef9f7cca25de7ea43627d23958 (diff) | |
download | external_llvm-4fe345729285ae634c657ab854057464d03220f7.zip external_llvm-4fe345729285ae634c657ab854057464d03220f7.tar.gz external_llvm-4fe345729285ae634c657ab854057464d03220f7.tar.bz2 |
Add support for a temporary forward decl type. We want this so we
can rauw forward declarations if we decide to emit the full type.
Part of rdar://10809898
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150024 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/DIBuilder.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DIBuilder.h b/include/llvm/Analysis/DIBuilder.h index 666ca58..3785fa8 100644 --- a/include/llvm/Analysis/DIBuilder.h +++ b/include/llvm/Analysis/DIBuilder.h @@ -341,6 +341,10 @@ namespace llvm { DIType createTemporaryType(); DIType createTemporaryType(DIFile F); + /// createForwardDecl - Create a temporary forward-declared type. + DIType createForwardDecl(unsigned Tag, StringRef Name, DIFile F, + unsigned Line); + /// retainType - Retain DIType in a module even if it is not referenced /// through debug info anchors. void retainType(DIType T); |