r305076 - [DebugInfo] Fix comment, NFC.

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 9 06:55:08 PDT 2017


Author: abataev
Date: Fri Jun  9 08:55:08 2017
New Revision: 305076

URL: http://llvm.org/viewvc/llvm-project?rev=305076&view=rev
Log:
[DebugInfo] Fix comment, NFC.

Modified:
    cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=305076&r1=305075&r2=305076&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Fri Jun  9 08:55:08 2017
@@ -3466,8 +3466,8 @@ void CGDebugInfo::EmitDeclare(const VarD
   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)




More information about the cfe-commits mailing list