OSDN Git Service

Change TargetParser enum names to avoid macro conflicts (llvm)
authorRenato Golin <renato.golin@linaro.org>
Tue, 12 May 2015 10:33:58 +0000 (10:33 +0000)
committerRenato Golin <renato.golin@linaro.org>
Tue, 12 May 2015 10:33:58 +0000 (10:33 +0000)
commited7316767349283918e5fd6d486582156abed294
tree0dde78cfe0ab4d6a2705d7f4bb917e291e5f8b2c
parent3bf2f23adba2263b339bd0a1b94f95d9a851e4f8
Change TargetParser enum names to avoid macro conflicts (llvm)

sys/time.h on Solaris (and possibly other systems) defines "SEC" as "1"
using a cpp macro.  The result is that this fails to compile.

Fixes https://llvm.org/PR23482

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237112 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/TargetParser.h
lib/Support/TargetParser.cpp
lib/Target/ARM/ARMAsmPrinter.cpp
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp