]> granicus.if.org Git - clang/commitdiff
Add anti-FIXME.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 18 Feb 2009 22:52:09 +0000 (22:52 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 18 Feb 2009 22:52:09 +0000 (22:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64969 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CodeGenModule.cpp

index 312eaad2974e0502f89ef84a7a1df2b94871ffd6..e7c784580bd76ad18b6d5a7fc240defca4fc0e09 100644 (file)
@@ -162,7 +162,10 @@ static void setGlobalVisibility(llvm::GlobalValue *GV,
 /// FIXME: Returning an IdentifierInfo* here is a total hack. We
 /// really need some kind of string abstraction that either stores a
 /// mangled name or stores an IdentifierInfo*. This will require
-/// changes to the GlobalDeclMap, too.
+/// changes to the GlobalDeclMap, too. (I disagree, I think what we
+/// actually need is for Sema to provide some notion of which Decls
+/// refer to the same semantic decl. We shouldn't need to mangle the
+/// names and see what comes out the same to figure this out. - DWD)
 ///
 /// FIXME: Performance here is going to be terribly until we start
 /// caching mangled names. However, we should fix the problem above