This is an archive of the discontinued LLVM Phabricator instance.

[Index] Add index::IndexingOptions::IndexImplicitInstantiation
ClosedPublic

Authored by MaskRay on Jul 5 2018, 5:02 PM.

Details

Summary

With IndexImplicitInstantiation=true, the following case records an occurrence of B::bar in A::foo, which will benefit cross reference tools.

template <class T> struct B { void bar() {}};
template <class T> struct A { void foo(B<T> *x) { x->bar(); }};
int main() { A<int> a; a.foo(0); }

Diff Detail

Repository
rL LLVM

Event Timeline

MaskRay created this revision.Jul 5 2018, 5:02 PM
rsmith accepted this revision.Jul 9 2018, 11:37 AM
This revision is now accepted and ready to land.Jul 9 2018, 11:37 AM
This revision was automatically updated to reflect the committed changes.