summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SafeStackLayout.cpp
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-07-25 18:54:30 +0000
committerChris Bieneman <beanz@apple.com>2016-07-25 18:54:30 +0000
commitc486541fea5db3a329132949c61ecf443aac3aea (patch)
tree7d1fec74ffe80469df281fb49b2bde83db37be96 /llvm/lib/CodeGen/SafeStackLayout.cpp
parent705f7775bb6c1863da2cbde59270d545653f00d6 (diff)
downloadbcm5719-llvm-c486541fea5db3a329132949c61ecf443aac3aea.tar.gz
bcm5719-llvm-c486541fea5db3a329132949c61ecf443aac3aea.zip
[CMake] Cleaning up some CMake warnings
In Bootstrap builds Clang logs some warnings. These are caused because Clang passes CLANG_STAGE and BOOTSTRAP_DEFAULT_PASSTHROUGH into the next stage's configuration. BOOTSTRAP_DEFAULT_PASSTHROUGH shouldn't be passed, so it is renamed to _BOOTSTRAP_DEFAULT_PASSTHROUGH, to prevent passthrough. CLANG_STAGE should be passed, so I've changed the code to log it if it is set outside the if(CLANG_ENABLE_BOOTSTRAP) block. This makes the variable always used, so the warning goes away. llvm-svn: 276674
Diffstat (limited to 'llvm/lib/CodeGen/SafeStackLayout.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud