aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
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
commit24f7101876203bb7906c161bb808ec39dcf95d76 (patch)
tree3f148d57905fa40deceffc62b050363c188b7d92 /clang/lib/CodeGen/CGDebugInfo.cpp
parent56223237b083f680cfdaba6c77c92e57ffde0341 (diff)
downloadllvm-24f7101876203bb7906c161bb808ec39dcf95d76.zip
llvm-24f7101876203bb7906c161bb808ec39dcf95d76.tar.gz
llvm-24f7101876203bb7906c161bb808ec39dcf95d76.tar.bz2
[DebugInfo] Fix comment, NFC.
llvm-svn: 305076
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index 42b896b..ebb264e 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/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)