Revert "Make naming in Host.h in line with coding standards."
authorKristof Beyls <kristof.beyls@arm.com>
Thu, 30 Mar 2017 11:06:25 +0000 (11:06 +0000)
committerKristof Beyls <kristof.beyls@arm.com>
Thu, 30 Mar 2017 11:06:25 +0000 (11:06 +0000)
commit7a76b315d6dfeed6791de5aa04ec1b8a6ba8ed19
treeaebbd34cd087ddb6894c94df3ba2f05e36f98926
parent1ba115a113ec7ca2f6df0edad112b4479860de81
Revert "Make naming in Host.h in line with coding standards."

This reverts r299062, which caused build failures on Windows.
It also reverts the attempts to fix the windows builds in r299064 and r299065.
The introduction of namespace llvm::sys::detail makes MSVC, and seemingly also
mingw, complain about ambiguity with the existing namespace llvm::detail.
E.g.:
C:\b\slave\sanitizer-windows\llvm\include\llvm/Support/MathExtras.h(184): error C2872: 'detail': ambiguous symbol
C:\b\slave\sanitizer-windows\llvm\include\llvm/Support/PointerLikeTypeTraits.h(31): note: could be 'llvm::detail'
C:\b\slave\sanitizer-windows\llvm\include\llvm/Support/Host.h(80): note: or       'llvm::sys::detail'

In r299064 and r299065 I tried to fix these ambiguities, based on the errors
reported in the log files. It seems however that the build stops early when
this kind of error is encountered, and many build-then-fix-iterations on
Windows may be needed to fix this. Therefore reverting r299062 for now to
get the build working again on Windows.

llvm-svn: 299066
llvm/include/llvm/ADT/DenseSet.h
llvm/include/llvm/ADT/StringExtras.h
llvm/include/llvm/Support/Host.h
llvm/include/llvm/Support/MathExtras.h
llvm/lib/Support/Chrono.cpp
llvm/lib/Support/Host.cpp
llvm/unittests/Support/Host.cpp