Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libc / utils / HdrGen / IncludeFileCommand.h
blob240e803a7dc2b464b5d8f7b9714ca5a686685b04
1 //===-- Class which implements the %%include_file command -------*- 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_UTILS_HDRGEN_INCLUDE_COMMAND_H
10 #define LLVM_LIBC_UTILS_HDRGEN_INCLUDE_COMMAND_H
12 #include "Command.h"
14 #include "llvm/ADT/SmallVector.h"
15 #include "llvm/ADT/StringRef.h"
17 #include <string>
19 namespace llvm_libc {
21 class IncludeFileCommand : public Command {
22 public:
23 static const char Name[];
25 void run(llvm::raw_ostream &OS, const ArgVector &Args,
26 llvm::StringRef StdHeader, llvm::RecordKeeper &Records,
27 const Command::ErrorReporter &Reporter) const override;
30 } // namespace llvm_libc
32 #endif // LLVM_LIBC_UTILS_HDRGEN_INCLUDE_COMMAND_H