aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2020-02-16 00:51:11 -0600
committerJohannes Doerfert <johannes@jdoerfert.de>2020-02-16 00:51:11 -0600
commit857bf5da35af8e1f9425e1865dab5f5fce5e38f2 (patch)
treec7b2304a813a001cd8aa1832de25480431eec4bd /clang/lib/CodeGen/CodeGenFunction.cpp
parent1d5da8cd30fce1c0a2c2fa6ba656dbfaa36192c8 (diff)
downloadllvm-857bf5da35af8e1f9425e1865dab5f5fce5e38f2.zip
llvm-857bf5da35af8e1f9425e1865dab5f5fce5e38f2.tar.gz
llvm-857bf5da35af8e1f9425e1865dab5f5fce5e38f2.tar.bz2
[FIX] Do not copy an llvm::function_ref if it has to be reused
Some buildbots signaled a problem in this method when the llvm::function_ref was copied and reused after 1228d42ddab8. To eliminate the problem we avoid copying the llvm::function_ref and instead we pass it as a const reference.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions