summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2017-06-09 13:55:08 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2017-06-09 13:55:08 +0000
commit52709f3610567494b4a764660f01d29053fc37d8 (patch)
tree0c9d1eac318091817305c22638e091fc3a590d31
parent94b4418c2dcd5aff749f93f86dc99ea39c8d14f6 (diff)
[DebugInfo] Fix comment, NFC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305076 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/CGDebugInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp
index 42b896b118..ebb264eb61 100644
--- a/lib/CodeGen/CGDebugInfo.cpp
+++ b/lib/CodeGen/CGDebugInfo.cpp
@@ -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)