//===-- ResourceScriptCppFilter.cpp ----------------------------*- C++ -*-===// // // 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 an interface defined in ResourceScriptCppFilter.h. // //===---------------------------------------------------------------------===// #include "ResourceScriptCppFilter.h" #include "llvm/ADT/StringExtras.h" #include <vector> usingnamespacellvm; namespace { class Filter { … }; std::string Filter::run() { … } bool Filter::parseLine(StringRef Line) { … } bool Filter::streamEof() const { … } } // anonymous namespace namespace llvm { std::string filterCppOutput(StringRef Input) { … } } // namespace llvm