[PATCH] D52057: Emit template type and value parameter DIEs for template variables.

Matthew Voss via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 18 11:25:21 PDT 2018


ormris added inline comments.


================
Comment at: test/DebugInfo/X86/template.ll:6-9
 ; template<int x, int*, template<typename> class y, decltype(nullptr) n, int ...z>  int func() { return 3; }
 ; template<typename> struct y_impl { struct nested { }; };
 ; int glbl = func<3, &glbl, y_impl, nullptr, 1, 2>();
 ; y_impl<int>::nested n;
----------------
dblaikie wrote:
> I'm guessing this source code is out of date, since it doesn't appear to include a global variable template named 'var'?
Yep. That's out of date. Will fix.


Repository:
  rL LLVM

https://reviews.llvm.org/D52057





More information about the llvm-commits mailing list