aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-01-08 01:53:42 +0000
committerEric Christopher <echristo@gmail.com>2013-01-08 01:53:42 +0000
commit1f55eb4c5766fd6a6fa53c17f7bb9e7d4ea03500 (patch)
tree32203cb530844aceee28629fe98d7390331e5a93
parentc09b4c00aaab25676ca903a4e137ac19ccb7d637 (diff)
downloadexternal_llvm-1f55eb4c5766fd6a6fa53c17f7bb9e7d4ea03500.zip
external_llvm-1f55eb4c5766fd6a6fa53c17f7bb9e7d4ea03500.tar.gz
external_llvm-1f55eb4c5766fd6a6fa53c17f7bb9e7d4ea03500.tar.bz2
Fix comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171832 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/IR/DIBuilder.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/IR/DIBuilder.cpp b/lib/IR/DIBuilder.cpp
index 9fd0cd8..f9e5cab 100644
--- a/lib/IR/DIBuilder.cpp
+++ b/lib/IR/DIBuilder.cpp
@@ -659,7 +659,8 @@ DIType DIBuilder::createArtificialType(DIType Ty) {
return DIType(MDNode::get(VMContext, Elts));
}
-/// createArtificialType - Create a new DIType with "artificial" flag set.
+/// createObjectPointerType - Create a new type with both the object pointer
+/// and artificial flags set.
DIType DIBuilder::createObjectPointerType(DIType Ty) {
if (Ty.isObjectPointer())
return Ty;