[cfe-dev] [PATCH] Function redeclaration and PR2360
kremenek at apple.com
Tue May 27 09:05:38 PDT 2008
On May 27, 2008, at 8:55 AM, Eli Friedman wrote:
> On Tue, May 27, 2008 at 8:44 AM, Ted Kremenek <kremenek at apple.com>
>> One caveat: if a client inspects two separate DeclRefExprs, each one
>> referring to a different FunctionDecl for the same function, is
>> there a
>> good, standard way to compare if they refer to the same function?
> I think we'd need some sort of map for global names to implement this;
> two completely unrelated FunctionDecls can refer to the same function
> if they're in disjoint scopes.
Yes, that makes sense.
More information about the cfe-dev