diff --git a/clang/lib/Headers/__clang_cuda_cmath.h b/clang/lib/Headers/__clang_cuda_cmath.h --- a/clang/lib/Headers/__clang_cuda_cmath.h +++ b/clang/lib/Headers/__clang_cuda_cmath.h @@ -191,7 +191,7 @@ typename __clang_cuda_enable_if::is_integer, \ __retty>::type \ __fn(__T __x) { \ - return ::__fn((double)__x); \ + return __fn((double)__x); \ } // Defines an overload of __fn that accepts one two arithmetic arguments, calls