summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-07-13 16:15:54 +0000
committerDevang Patel <dpatel@apple.com>2009-07-13 16:15:54 +0000
commit290b052d43e8656a0226553e3601ebaeb51abbac (patch)
treead441e3d02ee84a7ab6246ef25edb4c94b995610 /clang/lib/CodeGen/CGDebugInfo.cpp
parent63bdb562741499a2658ce917a1a87008d35ceb16 (diff)
downloadbcm5719-llvm-290b052d43e8656a0226553e3601ebaeb51abbac.tar.gz
bcm5719-llvm-290b052d43e8656a0226553e3601ebaeb51abbac.zip
Fix comment.
llvm-svn: 75471
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index e45fa55cd43..9bab9269772 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -732,7 +732,7 @@ llvm::DIType CGDebugInfo::getOrCreateType(QualType Ty,
if (Ty.isNull())
return llvm::DIType();
- // Check to see if the compile unit already has created this type.
+ // Check TypeCache first.
llvm::DIType &Slot = TypeCache[Ty.getAsOpaquePtr()];
if (!Slot.isNull()) return Slot;
OpenPOWER on IntegriCloud