[cfe-commits] r65423 - /cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

Devang Patel dpatel at apple.com
Tue Feb 24 17:36:11 PST 2009


Author: dpatel
Date: Tue Feb 24 19:36:11 2009
New Revision: 65423

URL: http://llvm.org/viewvc/llvm-project?rev=65423&view=rev
Log:
Fix comments.

Modified:
    cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=65423&r1=65422&r2=65423&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Tue Feb 24 19:36:11 2009
@@ -76,10 +76,10 @@
                                                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(), 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();





More information about the cfe-commits mailing list