summaryrefslogtreecommitdiffstats
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
commit9bd3609a0849be7b7bfa6717142fc113c778162c (patch)
treefaffb6dbe5a6fed8009b59afa3469462983ab21a
parenta0461690006fe1f8e9b636f8b9e2d537299c91ca (diff)
downloadbcm5719-llvm-9bd3609a0849be7b7bfa6717142fc113c778162c.tar.gz
bcm5719-llvm-9bd3609a0849be7b7bfa6717142fc113c778162c.zip
Fix comment.
llvm-svn: 171832
-rw-r--r--llvm/lib/IR/DIBuilder.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/IR/DIBuilder.cpp b/llvm/lib/IR/DIBuilder.cpp
index 9fd0cd8683c..f9e5cab1471 100644
--- a/llvm/lib/IR/DIBuilder.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud