Skip to content
Snippets Groups Projects
Commit cc7a941b authored by Ismail Donmez's avatar Ismail Donmez
Browse files

Fix function call to fix build

../tools/clang/lib/Driver/ToolChains/Cuda.cpp:80:18: error: reference to non-static member function must be called; did you mean to call it with no arguments?
    if (Distro(D.getVFS).IsDebian())
               ~~^~~~~~
                       ()



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@319322 91177308-0d34-0410-b5e6-96231b3b80d8
parent bc14311d
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,7 @@ CudaInstallationDetector::CudaInstallationDetector( ...@@ -77,7 +77,7 @@ CudaInstallationDetector::CudaInstallationDetector(
for (const char *Ver : Versions) for (const char *Ver : Versions)
CudaPathCandidates.push_back(D.SysRoot + "/usr/local/cuda-" + Ver); CudaPathCandidates.push_back(D.SysRoot + "/usr/local/cuda-" + Ver);
if (Distro(D.getVFS).IsDebian()) if (Distro(D.getVFS()).IsDebian())
// Special case for Debian to have nvidia-cuda-toolkit work // Special case for Debian to have nvidia-cuda-toolkit work
// out of the box. More info on http://bugs.debian.org/882505 // out of the box. More info on http://bugs.debian.org/882505
CudaPathCandidates.push_back(D.SysRoot + "/usr/lib/cuda"); CudaPathCandidates.push_back(D.SysRoot + "/usr/lib/cuda");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment