]> granicus.if.org Git - clang/commit
Change TargetParser enum names to avoid macro conflicts (clang)
authorRenato Golin <renato.golin@linaro.org>
Tue, 12 May 2015 10:34:10 +0000 (10:34 +0000)
committerRenato Golin <renato.golin@linaro.org>
Tue, 12 May 2015 10:34:10 +0000 (10:34 +0000)
commit36a485732adb084fd34117e6ba7881b005733988
treeba751b3ce5183b023c9f33469a4e6d44d1be2967
parenta00c9ee75f5b5d5bf113dac2fe3cfdf386e76f8b
Change TargetParser enum names to avoid macro conflicts (clang)

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/cfe/trunk@237113 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp