[llvm] 215f3dd - [nfc][sancov] Remove unnecessary default argument (#117464)

via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 23 22:16:03 PST 2024


Author: Vitaly Buka
Date: 2024-11-23T22:16:00-08:00
New Revision: 215f3dd5f6b82000bd61a5e8ff4a065baf8f4e3f

URL: https://github.com/llvm/llvm-project/commit/215f3dd5f6b82000bd61a5e8ff4a065baf8f4e3f
DIFF: https://github.com/llvm/llvm-project/commit/215f3dd5f6b82000bd61a5e8ff4a065baf8f4e3f.diff

LOG: [nfc][sancov] Remove unnecessary default argument (#117464)

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 8736a7f0be2c55..555267327a0a9e 100644
--- a/llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
+++ b/llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
@@ -244,7 +244,7 @@ class ModuleSanitizerCoverage {
   void InjectTraceForSwitch(Function &F,
                             ArrayRef<Instruction *> SwitchTraceTargets);
   bool InjectCoverage(Function &F, ArrayRef<BasicBlock *> AllBlocks,
-                      bool IsLeafFunc = true);
+                      bool IsLeafFunc);
   GlobalVariable *CreateFunctionLocalArrayInSection(size_t NumElements,
                                                     Function &F, Type *Ty,
                                                     const char *Section);


        


More information about the llvm-commits mailing list