I believe we no longer require LLVM_HAS_INITIALIZER_LISTS; it's supported in MSVC...
authorAaron Ballman <aaron@aaronballman.com>
Tue, 17 Feb 2015 15:37:53 +0000 (15:37 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 17 Feb 2015 15:37:53 +0000 (15:37 +0000)
commit8b0b0a852487cb6b3b212ed7cd88479683a7e559
treeb64299fb3c7a9375bf657d3ea6cc61f29e4adbf2
parent07419021e5c3f0d74ad4a7152203d8f46a1fef78
I believe we no longer require LLVM_HAS_INITIALIZER_LISTS; it's supported in MSVC 2013 and GCC. Added a trivial test to ensure the ArrayRef initializer list constructor is called and behaves as expected.

If any of the bots complain (perhaps due to an antiquated version of an STL implementation), I will revert.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229502 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/ArrayRef.h
include/llvm/Support/Compiler.h
unittests/ADT/ArrayRefTest.cpp