Skip to content

Commit 3fdd039

Browse files
committed
remove default value
1 parent 6cae241 commit 3fdd039

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/CGHLSLRuntime.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ static llvm::Value *createSPIRVBuiltinLoad(IRBuilder<> &B, llvm::Module &M,
574574

575575
static llvm::Value *createSPIRVLocationLoad(IRBuilder<> &B, llvm::Module &M,
576576
llvm::Type *Ty, unsigned Location,
577-
StringRef Name = "") {
577+
StringRef Name) {
578578
auto *GV = new llvm::GlobalVariable(
579579
M, Ty, /* isConstant= */ true, llvm::GlobalValue::ExternalLinkage,
580580
/* Initializer= */ nullptr, /* Name= */ Name, /* insertBefore= */ nullptr,

0 commit comments

Comments
 (0)