llvm/lld/Common/Strings.cpp

//===- Strings.cpp -------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "lld/Common/Strings.h"
#include "lld/Common/ErrorHandler.h"
#include "lld/Common/LLVM.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/GlobPattern.h"
#include <algorithm>
#include <mutex>
#include <vector>

usingnamespacellvm;
usingnamespacelld;

SingleStringMatcher::SingleStringMatcher(StringRef Pattern) {}

bool SingleStringMatcher::match(StringRef s) const {}

bool StringMatcher::match(StringRef s) const {}

// Converts a hex string (e.g. "deadbeef") to a vector.
SmallVector<uint8_t, 0> lld::parseHex(StringRef s) {}

// Returns true if S is valid as a C language identifier.
bool lld::isValidCIdentifier(StringRef s) {}

// Write the contents of the a buffer to a file
void lld::saveBuffer(StringRef buffer, const Twine &path) {}