diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2017-06-09 13:55:08 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2017-06-09 13:55:08 +0000 |
commit | 24f7101876203bb7906c161bb808ec39dcf95d76 (patch) | |
tree | 3f148d57905fa40deceffc62b050363c188b7d92 /clang/lib/CodeGen/CGDebugInfo.cpp | |
parent | 56223237b083f680cfdaba6c77c92e57ffde0341 (diff) | |
download | llvm-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.cpp | 4 |
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) |