[cfe-dev] [PATCH] Function redeclaration and PR2360

Eli Friedman eli.friedman at gmail.com
Tue May 27 08:55:53 PDT 2008

On Tue, May 27, 2008 at 8:44 AM, Ted Kremenek <kremenek at apple.com> wrote:
> 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.


More information about the cfe-dev mailing list