Skip to content

Commit

Permalink
[Transforms] Remove unused declaration emitStrNLen (NFC)
Browse files Browse the repository at this point in the history
The corresponding definition has been missing for at least 5 years.
  • Loading branch information
kazutakahirata committed Aug 22, 2021
1 parent ca7926b commit 40fd2d9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions llvm/include/llvm/Transforms/Utils/BuildLibCalls.h
Expand Up @@ -54,12 +54,6 @@ namespace llvm {
/// 'i8*' type.
Value *emitStrDup(Value *Ptr, IRBuilderBase &B, const TargetLibraryInfo *TLI);

/// Emit a call to the strnlen function to the builder, for the specified
/// pointer. Ptr is required to be some pointer type, MaxLen must be of size_t
/// type, and the return value has 'intptr_t' type.
Value *emitStrNLen(Value *Ptr, Value *MaxLen, IRBuilderBase &B,
const DataLayout &DL, const TargetLibraryInfo *TLI);

/// Emit a call to the strchr function to the builder, for the specified
/// pointer and character. Ptr is required to be some pointer type, and the
/// return value has 'i8*' type.
Expand Down

0 comments on commit 40fd2d9

Please sign in to comment.