]> granicus.if.org Git - clang/commitdiff
[DebugInfo] Fix comment, NFC.
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 9 Jun 2017 13:55:08 +0000 (13:55 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 9 Jun 2017 13:55:08 +0000 (13:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305076 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGDebugInfo.cpp

index 42b896b1180292c31ec8c7dab071605a387f224c..ebb264eb61c9f2f06f79ae3bb0536cc8f6dc757d 100644 (file)
@@ -3466,8 +3466,8 @@ void CGDebugInfo::EmitDeclare(const VarDecl *VD, llvm::Value *Storage,
   unsigned AddressSpace = CGM.getContext().getTargetAddressSpace(VD->getType());
   AppendAddressSpaceXDeref(AddressSpace, Expr);
 
-  // If this is implicit parameter and has IPK_CXXThis or IPK_ObjCSelf attribute
-  // then give it an object pointer flag.
+  // If this is implicit parameter of CXXThis or ObjCSelf kind, then give it an
+  // object pointer flag.
   if (const auto *IPD = dyn_cast<ImplicitParamDecl>(VD)) {
     if (IPD->getParameterKind() == ImplicitParamDecl::CXXThis ||
         IPD->getParameterKind() == ImplicitParamDecl::ObjCSelf)