]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
Avoid using the C++11 auto keyword, which was introduced in r328555, as
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 27 Feb 2018 19:02:49 +0000 (19:02 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 27 Feb 2018 19:02:49 +0000 (19:02 +0000)
commit0d6f1ffeea490296fc2880844da9ee3a38a1bbdf
treec2a2af0eb6fb7d24c4609b62185de7b5e8c2ec48
parenta259284b74fbfa2a84128bdfb2d10f5526033ed8
Avoid using the C++11 auto keyword, which was introduced in r328555, as
part of an upstream change.  This is not supported by gcc 4.2.1, which
is still the default system compiler for some architectures.

Direct commit to stable/9 and stable/10, since this does not apply to
stable/11 and head.

Reported by: jau@iki.fi
PR: 202665,226068

git-svn-id: svn://svn.freebsd.org/base/stable/9@330080 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/llvm/tools/clang/lib/Sema/SemaInit.cpp