summaryrefslogtreecommitdiff
path: root/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
commit0ae3d60731abb4c75eb9e993f8492527f4e51c70 (patch)
treec8a543429212fbf7bffa59b1a9f4918e8ee00b73 /lib/CodeGen/CGDebugInfo.cpp
parent69243825cb5c91ec7207256aa57ae327cfaf8cb2 (diff)
downloadclang-0ae3d60731abb4c75eb9e993f8492527f4e51c70.tar.gz
clang-0ae3d60731abb4c75eb9e993f8492527f4e51c70.tar.bz2
clang-0ae3d60731abb4c75eb9e993f8492527f4e51c70.tar.xz
Fix comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75471 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--lib/CodeGen/CGDebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp
index e45fa55cd4..9bab926977 100644
--- a/lib/CodeGen/CGDebugInfo.cpp
+++ b/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;