Quick-fix DebugInfo build on Windows
authorTimur Iskhodzhanov <timurrrr@google.com>
Tue, 29 Oct 2013 12:13:22 +0000 (12:13 +0000)
committerTimur Iskhodzhanov <timurrrr@google.com>
Tue, 29 Oct 2013 12:13:22 +0000 (12:13 +0000)
commit45d2e6492c48d41267f2d7576028422554c9875e
treed42ea8f3b5b2c9c173ea753714470adfb4ea3d5b
parent47c6d17b1cce85ba30471b2270419e35ba3d5653
Quick-fix DebugInfo build on Windows

MSVC can't comprehend
  template<typename T, size_t N>
  ArrayRef<T> makeArrayRef(const T (&Arr)[N]) {
    return ArrayRef<T>(Arr);
  }
if Arr is
  static const uint8_t sizes[];
declared in a templated and defined a few lines later.

I'll send a proper fix (i.e. get rid of unnecessary templates) for review soon.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193604 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/DWARFFormValue.cpp