summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-02-25 01:36:11 +0000
committerDevang Patel <dpatel@apple.com>2009-02-25 01:36:11 +0000
commit410dc00184df99b42964be8f776756fb464d9e9a (patch)
tree62034d0d4d4aca45f5b4f974379f884131b0b0fd /clang/lib/CodeGen/CGDebugInfo.cpp
parent9d7d17a8ec36d0ce8c6f06640ab3b8e9e8768dcb (diff)
downloadbcm5719-llvm-410dc00184df99b42964be8f776756fb464d9e9a.tar.gz
bcm5719-llvm-410dc00184df99b42964be8f776756fb464d9e9a.zip
Fix comments.
llvm-svn: 65423
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index 53e28729cbb..3a49fcf927b 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/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();
OpenPOWER on IntegriCloud