[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.


http://llvm-reviews.chandlerc.com/D2742



More information about the cfe-commits mailing list