]> granicus.if.org Git - clang/commit
Reverted the "[CUDA/OpenMP] Define only some host macros during device compilation"
authorArtem Belevich <tra@google.com>
Thu, 30 Aug 2018 20:43:39 +0000 (20:43 +0000)
committerArtem Belevich <tra@google.com>
Thu, 30 Aug 2018 20:43:39 +0000 (20:43 +0000)
commitdfb6e35a902419c2ef3df22328e66a2c3627b16f
tree00a9e37e94eb9d4267c52b520e6e3668cdfaa17c
parent4ff1ad23463367f495bb817a32d36e71b633aa56
Reverted the "[CUDA/OpenMP] Define only some host macros during device compilation"

The changes were breaking CUDA compilation.

Reverted revisions:
  r340681 D50845
   [CUDA/OpenMP] Define only some host macros during device compilation
  r340772 D51312
    [OpenMP][NVPTX] Use appropriate _CALL_ELF macro when offloading
  r340967 D51441
     Add predefined macro __gnu_linux__ for proper aux-triple

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341115 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/InitPreprocessor.cpp