diff options
author | Devang Patel <dpatel@apple.com> | 2009-02-25 01:36:11 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-02-25 01:36:11 +0000 |
commit | 65e99f219a627a31eede53eebfd952d18cf0596a (patch) | |
tree | 7661de8a17373faeecd9cad4404b9ead44b2366b /lib/CodeGen/CGDebugInfo.cpp | |
parent | 1d6a451ceed4bd654462040bd8e880f69649ee9a (diff) |
Fix comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65423 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 53e28729cb..3a49fcf927 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -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(); |