summaryrefslogtreecommitdiff
path: root/include/llvm/DIBuilder.h
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2013-04-19 19:56:02 +0000
committerAdrian Prantl <aprantl@apple.com>2013-04-19 19:56:02 +0000
commit2f445be5a75b4d1a907dd694c9e5c518229df48e (patch)
tree128855a9bca263f962aba004df47fd2a56427e34 /include/llvm/DIBuilder.h
parent4acef770cfb9622a5baf3e1c72e99c4fc84e48ea (diff)
downloadllvm-2f445be5a75b4d1a907dd694c9e5c518229df48e.tar.gz
llvm-2f445be5a75b4d1a907dd694c9e5c518229df48e.tar.bz2
llvm-2f445be5a75b4d1a907dd694c9e5c518229df48e.tar.xz
Rename ClassType to the more accurate UnderlyingType and document its purpose.
rdar://problem/13463793 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179877 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/DIBuilder.h')
-rw-r--r--include/llvm/DIBuilder.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/include/llvm/DIBuilder.h b/include/llvm/DIBuilder.h
index 4f0aa07130..06f9551f08 100644
--- a/include/llvm/DIBuilder.h
+++ b/include/llvm/DIBuilder.h
@@ -349,19 +349,20 @@ namespace llvm {
DIType createVectorType(uint64_t Size, uint64_t AlignInBits,
DIType Ty, DIArray Subscripts);
- /// createEnumerationType - Create debugging information entry for an
+ /// createEnumerationType - Create debugging information entry for an
/// enumeration.
- /// @param Scope Scope in which this enumeration is defined.
- /// @param Name Union name.
- /// @param File File where this member is defined.
- /// @param LineNumber Line number.
- /// @param SizeInBits Member size.
- /// @param AlignInBits Member alignment.
- /// @param Elements Enumeration elements.
+ /// @param Scope Scope in which this enumeration is defined.
+ /// @param Name Union name.
+ /// @param File File where this member is defined.
+ /// @param LineNumber Line number.
+ /// @param SizeInBits Member size.
+ /// @param AlignInBits Member alignment.
+ /// @param Elements Enumeration elements.
+ /// @param UnderlyingType Underlying type of a C++11/ObjC fixed enum.
DICompositeType createEnumerationType(
DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNumber,
uint64_t SizeInBits, uint64_t AlignInBits, DIArray Elements,
- DIType ClassType);
+ DIType UnderlyingType);
/// createSubroutineType - Create subroutine type.
/// @param File File in which this subroutine is defined.