[PATCH] Do not add enums to prototype scope in C++ modes.

Peter Collingbourne peter at pcc.me.uk
Thu Feb 20 15:32:11 PST 2014

Comment at: test/SemaTemplate/instantiate-enum.cpp:38
@@ +37,3 @@
+void f(int i, C<int>::C c) {
+  int value;
Ismail Pazarbasi wrote:
> Did you mean: `C<int> c`?
No; the reference to the injected class name is required to trigger instantiation.


More information about the cfe-commits mailing list