mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-05 00:49:43 +00:00
Fix a missing lambda return type that tripped the builders
llvm-svn: 334166
This commit is contained in:
parent
083a0c1621
commit
30c5e4ad35
@ -1408,7 +1408,7 @@ const std::map<std::string, std::string> IntrinsicToLibdeviceFunc = {
|
||||
///
|
||||
/// Return "" if we are not compiling for CUDA.
|
||||
std::string getCUDALibDeviceFuntion(Function *F) {
|
||||
const std::string FnName = [&] {
|
||||
auto FnName = [&] () -> const std::string {
|
||||
auto It = IntrinsicToLibdeviceFunc.find(F->getName());
|
||||
if (It != IntrinsicToLibdeviceFunc.end())
|
||||
return It->second;
|
||||
|
Loading…
x
Reference in New Issue
Block a user