Skip to content

Commit

Permalink
Fix a missing lambda return type that tripped the builders
Browse files Browse the repository at this point in the history
llvm-svn: 334166
  • Loading branch information
pfaffe committed Jun 7, 2018
1 parent 083a0c1 commit 30c5e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polly/lib/CodeGen/PPCGCodeGeneration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 30c5e4a

Please sign in to comment.