]> granicus.if.org Git - clang/commitdiff
Fix comments.
authorDevang Patel <dpatel@apple.com>
Wed, 25 Feb 2009 01:36:11 +0000 (01:36 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 25 Feb 2009 01:36:11 +0000 (01:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65423 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGDebugInfo.cpp

index 53e28729cbb2dc763cd102511e5c272748d30c3e..3a49fcf927b1e6fb32c2f7a9942b3619bd00d957 100644 (file)
@@ -76,10 +76,10 @@ llvm::DICompileUnit CGDebugInfo::getOrCreateCompileUnit(SourceLocation Loc) {
                                                FileName, DirName, "clang");
 }
 
-/// getOrCreateBuiltinType - Get the Basic type from the cache or create a new
+/// CreateType - Get the Basic type from the cache or create a new
 /// one if necessary.
 llvm::DIType CGDebugInfo::CreateType(const BuiltinType *BT,
-                                     llvm::DICompileUnit Unit){
+                                     llvm::DICompileUnit Unit) {
   unsigned Encoding = 0;
   switch (BT->getKind()) {
   default:
@@ -195,7 +195,7 @@ llvm::DIType CGDebugInfo::CreateType(const FunctionType *Ty,
                                           llvm::DIType(), EltTypeArray);
 }
 
-/// getOrCreateRecordType - get structure or union type.
+/// CreateType - get structure or union type.
 llvm::DIType CGDebugInfo::CreateType(const RecordType *Ty,
                                      llvm::DICompileUnit Unit) {
   RecordDecl *Decl = Ty->getDecl();