//===- PackedVersion.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 // //===----------------------------------------------------------------------===// // // Implements the Mach-O packed version. // //===----------------------------------------------------------------------===// #include "llvm/TextAPI/PackedVersion.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringExtras.h" #include "llvm/Support/Format.h" #include "llvm/Support/raw_ostream.h" namespace llvm { namespace MachO { bool PackedVersion::parse32(StringRef Str) { … } std::pair<bool, bool> PackedVersion::parse64(StringRef Str) { … } operator basic_string() void PackedVersion::print(raw_ostream &OS) const { … } } // end namespace MachO. } // end namespace llvm.