dblaikie added inline comments.
Comment at: clang/test/SemaTemplate/class-template-id.cpp:12-14
+return ptr2; // expected-error{{cannot initialize return object of type
'A *' (aka 'A *') with an lvalue of type 'const A
*'}}
else {
+return ptr3; //
dblaikie added inline comments.
Comment at: clang/test/SemaTemplate/class-template-id.cpp:12-14
+return ptr2; // expected-error{{cannot initialize return object of type
'A *' (aka 'A *') with an lvalue of type 'const A
*'}}
else {
+return ptr3; //
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc33ebad73516: Print default template argument if manually
specified in typedef declaration. (authored by reikdas, committed by
v.g.vassilev).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST
rjmccall accepted this revision.
rjmccall added a comment.
This revision is now accepted and ready to land.
LGTM
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103040/new/
https://reviews.llvm.org/D103040
reikdas created this revision.
reikdas added a reviewer: rsmith.
reikdas requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
If a default template type argument is manually specified to be of the default
type, then it is committed when