aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
diff options
context:
space:
mode:
authorIan Anderson <iana@apple.com>2023-06-03 22:56:19 -0700
committerIan Anderson <iana@apple.com>2023-07-05 09:52:02 -0700
commit9992b386bf3c4972494c5e4f571dff24db59a383 (patch)
tree770e401d03f4af3bac7b37c8cd1044f3b3584115 /llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
parent6f05da6cf8b982a309eb674b41554f77a58e49c4 (diff)
downloadllvm-9992b386bf3c4972494c5e4f571dff24db59a383.zip
llvm-9992b386bf3c4972494c5e4f571dff24db59a383.tar.gz
llvm-9992b386bf3c4972494c5e4f571dff24db59a383.tar.bz2
[libc++][Modules] Remove explicit exports from modules that `export *`
This may be a clang bug, but explicit exports interfere with `export *`, especially in local submodule visibility mode. For example, exporting `depr.stdint_h` from `cstdint` causes std::int32_t to become an "unresolved using declaration" in LSV if `cstdint` and `stdint.h` are promoted to top level modules. This was previously worked around by exporting `Darwin.C.stdint` in `depr.stdint_h`, but that only works on Apple platforms, and it stops working when `cstdint` and `stdint.h` are promoted to top level modules. Remove all of the explicit `export` statements in modules that have `export *`. Reviewed By: ldionne, Mordante, #libc Differential Revision: https://reviews.llvm.org/D153212
Diffstat (limited to 'llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp')
0 files changed, 0 insertions, 0 deletions