summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-02-23 00:43:12 +0000
committerEric Christopher <echristo@apple.com>2012-02-23 00:43:12 +0000
commit55b2bfa7c1ba5af48e90a230cfe97b5df382b59e (patch)
tree487576a1247428caafd89d264c25ce7f6ac9fb6e
parent27bc9fee2b56b22f0dc66479e1d6b4eb3c72aed6 (diff)
downloadbcm5719-llvm-55b2bfa7c1ba5af48e90a230cfe97b5df382b59e.tar.gz
bcm5719-llvm-55b2bfa7c1ba5af48e90a230cfe97b5df382b59e.zip
Add a quick TODO.
llvm-svn: 151217
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index 4fad9f63b55..d1dbe41dab5 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -345,6 +345,7 @@ llvm::DIType CGDebugInfo::CreateType(const BuiltinType *BT) {
// Class isa;
// } *id;
+ // TODO: Cache these two types to avoid duplicates.
llvm::DIType OCTy =
DBuilder.createForwardDecl(llvm::dwarf::DW_TAG_structure_type,
"objc_class", getOrCreateMainFile(),
OpenPOWER on IntegriCloud