[llvm] ae01e3a - [nfc][sancov] Remove unnecessary default argument (#117463)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 23 22:09:41 PST 2024
Author: Vitaly Buka
Date: 2024-11-23T22:09:38-08:00
New Revision: ae01e3a7c66d68544c85dd6e2c5498d3c5896e29
URL: https://github.com/llvm/llvm-project/commit/ae01e3a7c66d68544c85dd6e2c5498d3c5896e29
DIFF: https://github.com/llvm/llvm-project/commit/ae01e3a7c66d68544c85dd6e2c5498d3c5896e29.diff
LOG: [nfc][sancov] Remove unnecessary default argument (#117463)
Added:
Modified:
llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp b/llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
index 139e75dd3ddb34..8736a7f0be2c55 100644
--- a/llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
+++ b/llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
@@ -254,7 +254,7 @@ class ModuleSanitizerCoverage {
Instruction *I);
Value *CreateFunctionLocalGateCmp(IRBuilder<> &IRB);
void InjectCoverageAtBlock(Function &F, BasicBlock &BB, size_t Idx,
- Value *&FunctionGateCmp, bool IsLeafFunc = true);
+ Value *&FunctionGateCmp, bool IsLeafFunc);
Function *CreateInitCallsForSections(Module &M, const char *CtorName,
const char *InitFunctionName, Type *Ty,
const char *Section);
More information about the llvm-commits
mailing list