[cfe-dev] Is it possible to tell if function CallExpr/DeclRefExpr is resolved with ADL?

Eric Liu via cfe-dev cfe-dev at lists.llvm.org
Wed Jul 11 06:35:01 PDT 2018


Example:
```
namespace nx {
class X {};
void ff(X &x) {}
}  // namespace nx

int main() {
  nx::X x;
  ff(x);   // ADL
}
```

I am wondering if this is possible given the reference expression and the
ASTContext.

Thanks,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180711/9610723e/attachment.html>


More information about the cfe-dev mailing list