Skip to content

Commit 09ce6b7

Browse files
authored
[SYCL][Driver][NFC] Make hasFPGABinary help function static (#5239)
1 parent d5eb769 commit 09ce6b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Driver/Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2823,7 +2823,7 @@ static bool runBundler(const SmallVectorImpl<StringRef> &BundlerArgs,
28232823
return !llvm::sys::ExecuteAndWait(BundlerBinary.get(), BundlerArgs);
28242824
}
28252825

2826-
bool hasFPGABinary(Compilation &C, std::string Object, types::ID Type) {
2826+
static bool hasFPGABinary(Compilation &C, std::string Object, types::ID Type) {
28272827
assert(types::isFPGA(Type) && "unexpected Type for FPGA binary check");
28282828
// Do not do the check if the file doesn't exist
28292829
if (!llvm::sys::fs::exists(Object))

0 commit comments

Comments
 (0)