summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2020-01-16 20:04:42 -0800
committerHans Wennborg <hans@chromium.org>2020-01-17 09:38:34 +0100
commitac2c2db1674f200f87b05bee528c761600d87615 (patch)
treefd2fc15e7450b93ef0e36405f8559f92ccc2d82c /lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py
parentfac11406197ed993f1965ed1edc0369a12a2f8e2 (diff)
downloadbcm5719-llvm-ac2c2db1674f200f87b05bee528c761600d87615.tar.gz
bcm5719-llvm-ac2c2db1674f200f87b05bee528c761600d87615.zip
[Transforms][RISCV] Remove a "using namespace llvm" from an include file. Fix a place that became dependent on it.
This include file was created in October and has a "using namespace llvm". This seems to get exposed to other include files and finally onto cpp files. While this somewhat okay for llvm itself, its bad for other projects that use llvm as a library and includes a header file that picks this up. This was found by ISPC which has some class names at gloal scope with the same names as LLVM. It looks like RISCV accidentally became dependent on this. I fixed it by reordering some includes in the RISCV code, but maybe we want to change the TableGenEmitter to put "namespace llvm {" in the generated file instead? But we probably want to do the simplest thing first so we can merge it to 10.0. Differential Revision: https://reviews.llvm.org/D72895 (cherry picked from commit caee96031d3be9f951e4a17c8d3fb1c8b748fb31)
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud