diff options
| author | Eric Christopher <echristo@apple.com> | 2012-06-01 00:22:32 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@apple.com> | 2012-06-01 00:22:32 +0000 |
| commit | fc4199bf4add3422ce6470ca47bbe6bff2d70ea5 (patch) | |
| tree | 038a9b569ef94510918a4be42cd9677ceb4806ea /include | |
| parent | 547d8045fbf92eef358379f6e1446e33d8a8a0b8 (diff) | |
| download | llvm-fc4199bf4add3422ce6470ca47bbe6bff2d70ea5.tar.gz llvm-fc4199bf4add3422ce6470ca47bbe6bff2d70ea5.tar.bz2 llvm-fc4199bf4add3422ce6470ca47bbe6bff2d70ea5.tar.xz | |
Add support for enum forward declarations.
Part of rdar://11570854
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157786 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
| -rw-r--r-- | include/llvm/Analysis/DIBuilder.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Analysis/DIBuilder.h b/include/llvm/Analysis/DIBuilder.h index 667f76c69f..4bb321bfd4 100644 --- a/include/llvm/Analysis/DIBuilder.h +++ b/include/llvm/Analysis/DIBuilder.h @@ -329,10 +329,12 @@ namespace llvm { /// @param SizeInBits Member size. /// @param AlignInBits Member alignment. /// @param Elements Enumeration elements. + /// @param Flags Flags (e.g. forward decl) DIType createEnumerationType(DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNumber, uint64_t SizeInBits, uint64_t AlignInBits, - DIArray Elements, DIType ClassType); + DIArray Elements, DIType ClassType, + unsigned Flags); /// createSubroutineType - Create subroutine type. /// @param File File in which this subroutine is defined. |
