diff --git a/lib/IR/DIBuilder.cpp b/lib/IR/DIBuilder.cpp index 9fd0cd8683c..f9e5cab1471 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;