[PATCH] D65694: Properly instantiate a decltype in argument's default initializer

Mark de Wever via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 1 05:01:55 PDT 2019


Mordante updated this revision to Diff 218256.
Mordante added a comment.

Changed the approach to use `addInstantiatedParametersToScope` as suggested by @rsmith. Since the function was `static` in another file I made it a member of `LocalInstantiationScope` and adjusted all callers.

Minor changes:

- Unit test remove link to Bugzilla
- MutiLevelArgList -> Mu__l__tiLevelArgList


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65694/new/

https://reviews.llvm.org/D65694

Files:
  clang/include/clang/Sema/Template.h
  clang/lib/Sema/SemaExpr.cpp
  clang/lib/Sema/SemaTemplateInstantiate.cpp
  clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  clang/test/SemaTemplate/default-arguments-cxx0x.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65694.218256.patch
Type: text/x-patch
Size: 10213 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190901/f4d12485/attachment-0001.bin>


More information about the cfe-commits mailing list