//===- ObjCRuntime.cpp - Objective-C Runtime Handling ---------------------===// // // 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 // //===----------------------------------------------------------------------===// // // This file implements the ObjCRuntime class, which represents the // target Objective-C runtime. // //===----------------------------------------------------------------------===// #include "clang/Basic/ObjCRuntime.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/VersionTuple.h" #include "llvm/Support/raw_ostream.h" #include <cstddef> #include <string> usingnamespaceclang; std::string ObjCRuntime::getAsString() const { … } raw_ostream &clang::operator<<(raw_ostream &out, const ObjCRuntime &value) { … } bool ObjCRuntime::tryParse(StringRef input) { … }