loop. Don't confuse Sema by saying they're not.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274080
91177308-0d34-0410-b5e6-
96231b3b80d8
case FileContext:
case MemberContext:
case BlockContext:
+ case ForContext:
return true;
- case ForContext:
case ConditionContext:
case KNRTypeListContext:
case TypeNameContext:
using T = decltype(x);
void (T::*p)(int) const = &T::operator();
}
+
+void forinit_decltypeauto() {
+ for (decltype(auto) forinit_decltypeauto_inner();;) {} // expected-warning {{interpreted as a function}} expected-note {{replace}}
+}