diff options
author | Huihui Zhang <huihuiz@quicinc.com> | 2020-02-07 14:00:44 -0800 |
---|---|---|
committer | Huihui Zhang <huihuiz@quicinc.com> | 2020-02-07 14:01:06 -0800 |
commit | ae39105466c477c5466efe0763a0ab1a23a274cd (patch) | |
tree | 6e8c1eeb3c31d1c300283c85ea1ce23adf5c9390 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9bce9d2d65e2462140597f71a8247750b837094c (diff) | |
download | llvm-ae39105466c477c5466efe0763a0ab1a23a274cd.zip llvm-ae39105466c477c5466efe0763a0ab1a23a274cd.tar.gz llvm-ae39105466c477c5466efe0763a0ab1a23a274cd.tar.bz2 |
Reland "[ARM] Fix data race on RegisterBank initialization."
Update lambda function
static auto InitializeRegisterBankOnce = [this](const auto &TRI) {
with
static auto InitializeRegisterBankOnce = [&]() {
Capture reference instead of passing argument, as there are buildbot
compiling errors related when passing argument.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions