File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
clang/lib/Driver/ToolChains Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -748,7 +748,8 @@ void CudaToolChain::addClangTargetOptions(
748
748
for (StringRef LibraryPath : LibraryPaths) {
749
749
SmallString<128 > LibSpirvTargetFile (LibraryPath);
750
750
llvm::sys::path::append (LibSpirvTargetFile, LibSpirvTargetName);
751
- if (llvm::sys::fs::exists (LibSpirvTargetFile) || DriverArgs.hasArg (options::OPT__HASH_HASH_HASH)) {
751
+ if (llvm::sys::fs::exists (LibSpirvTargetFile) ||
752
+ DriverArgs.hasArg (options::OPT__HASH_HASH_HASH)) {
752
753
LibSpirvFile = std::string (LibSpirvTargetFile.str ());
753
754
break ;
754
755
}
Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ int main(int argc, char **argv) {
75
75
if (NamedMDNode *OCLVersion = M->getNamedMetadata (" opencl.ocl.version" ))
76
76
M->eraseNamedMetadata (OCLVersion);
77
77
78
- // wchar_size flag can cause a mismatch between libclc libraries and
79
- // modules using them. Since wchar is not used by libclc we drop the flag
78
+ // wchar_size flag can cause a mismatch between libclc libraries and
79
+ // modules using them. Since wchar is not used by libclc we drop the flag
80
80
if (M->getModuleFlag (" wchar_size" )) {
81
81
SmallVector<Module::ModuleFlagEntry, 4 > ModuleFlags;
82
82
M->getModuleFlagsMetadata (ModuleFlags);
You can’t perform that action at this time.
0 commit comments