[cfe-commits] r64969 - /cfe/trunk/lib/CodeGen/CodeGenModule.cpp

Chris Lattner clattner at apple.com
Wed Feb 18 15:02:03 PST 2009


On Feb 18, 2009, at 2:52 PM, Daniel Dunbar wrote:

> Author: ddunbar
> Date: Wed Feb 18 16:52:09 2009
> New Revision: 64969
>
> URL: http://llvm.org/viewvc/llvm-project?rev=64969&view=rev
> Log:
> Add anti-FIXME.

I don't see how your comment is related.  We should never stick  
mangled names into the preprocessor's identifier table.

-Chris

>
>
> Modified:
>    cfe/trunk/lib/CodeGen/CodeGenModule.cpp
>
> Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenModule.cpp?rev=64969&r1=64968&r2=64969&view=diff
>
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- cfe/trunk/lib/CodeGen/CodeGenModule.cpp (original)
> +++ cfe/trunk/lib/CodeGen/CodeGenModule.cpp Wed Feb 18 16:52:09 2009
> @@ -162,7 +162,10 @@
> /// 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
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list