[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / libc / src / string / index.h
blob7b246109d46f96fb767763a1ddbf64a6e8120365
1 //===-- Implementation header for index -------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIBC_SRC_STRING_INDEX_H
10 #define LLVM_LIBC_SRC_STRING_INDEX_H
12 namespace __llvm_libc {
14 char *index(const char *src, int c);
16 } // namespace __llvm_libc
18 #endif // LLVM_LIBC_SRC_STRING_INDEX_H