summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-31 22:17:44 +0000
committerChris Lattner <sabre@nondot.org>2009-03-31 22:17:44 +0000
commit2739d2bbe68efae3416b80294d8477c732105872 (patch)
tree52769ff51cb29588097b549d67239eacce4392bb /clang/lib/CodeGen/CodeGenModule.cpp
parentf72ce6ea8b056f8d137b6ab291fae3cf2967b684 (diff)
downloadbcm5719-llvm-2739d2bbe68efae3416b80294d8477c732105872.tar.gz
bcm5719-llvm-2739d2bbe68efae3416b80294d8477c732105872.zip
remove some obsolete comments, use an AssertingVH.
llvm-svn: 68151
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 907ade569bb..3de8156fe51 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -118,17 +118,6 @@ static void setGlobalVisibility(llvm::GlobalValue *GV,
/// const char* containing the mangled name. Otherwise, returns
/// the unmangled name.
///
-/// 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. (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
-/// first.
const char *CodeGenModule::getMangledName(const NamedDecl *ND) {
// In C, functions with no attributes never need to be mangled. Fastpath them.
if (!getLangOptions().CPlusPlus && !ND->hasAttrs()) {
OpenPOWER on IntegriCloud