aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-06-15 13:23:32 +0200
committerNikita Popov <npopov@redhat.com>2022-06-15 13:24:13 +0200
commit7cc4d4497ced700d906951fe1875e5d1e4d95810 (patch)
tree850839c18541098eeccd171745d7e5f948556abe /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentcf2072bcadafc72d839741d24fd91525d853df60 (diff)
downloadllvm-7cc4d4497ced700d906951fe1875e5d1e4d95810.zip
llvm-7cc4d4497ced700d906951fe1875e5d1e4d95810.tar.gz
llvm-7cc4d4497ced700d906951fe1875e5d1e4d95810.tar.bz2
[BitcodeReader] Remove unnecessary argument defaults (NFC)
This is an internal method that is always called with all arguments.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
index 263ffc8..6a7cd68 100644
--- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -596,8 +596,8 @@ public:
/// Main interface to parsing a bitcode buffer.
/// \returns true if an error occurred.
Error parseBitcodeInto(
- Module *M, bool ShouldLazyLoadMetadata = false, bool IsImporting = false,
- DataLayoutCallbackTy DataLayoutCallback = [](StringRef) { return None; });
+ Module *M, bool ShouldLazyLoadMetadata, bool IsImporting,
+ DataLayoutCallbackTy DataLayoutCallback);
static uint64_t decodeSignRotatedValue(uint64_t V);