]> granicus.if.org Git - clang/commitdiff
Update comment and space.
authorEric Christopher <echristo@apple.com>
Tue, 11 Sep 2012 01:36:56 +0000 (01:36 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 11 Sep 2012 01:36:56 +0000 (01:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163586 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGDebugInfo.cpp

index c700f2f2002b487f077cd5831ecc0db20e8ecc0e..2bb98076cf34d7522d5f98e95f63854055094f2f 100644 (file)
@@ -1985,7 +1985,7 @@ llvm::DISubprogram CGDebugInfo::getFunctionDeclaration(const Decl *D) {
 
 // getOrCreateFunctionType - Construct DIType. If it is a c++ method, include
 // implicit parameter "this".
-llvm::DIType CGDebugInfo::getOrCreateFunctionType(const Decl * D,
+llvm::DIType CGDebugInfo::getOrCreateFunctionType(const Decl *D,
                                                   QualType FnType,
                                                   llvm::DIFile F) {
 
@@ -2000,7 +2000,7 @@ llvm::DIType CGDebugInfo::getOrCreateFunctionType(const Decl * D,
     // "self" pointer is always first argument.
     llvm::DIType SelfTy = getOrCreateType(OMethod->getSelfDecl()->getType(), F);
     Elts.push_back(DBuilder.createArtificialType(SelfTy));
-    // "cmd" pointer is always second argument.
+    // "_cmd" pointer is always second argument.
     llvm::DIType CmdTy = getOrCreateType(OMethod->getCmdDecl()->getType(), F);
     Elts.push_back(DBuilder.createArtificialType(CmdTy));
     // Get rest of the arguments.