summaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cxxdump/llvm-cxxdump.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-cxxdump/llvm-cxxdump.h')
-rw-r--r--llvm/tools/llvm-cxxdump/llvm-cxxdump.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/llvm/tools/llvm-cxxdump/llvm-cxxdump.h b/llvm/tools/llvm-cxxdump/llvm-cxxdump.h
new file mode 100644
index 000000000000..739cfe481a4b
--- /dev/null
+++ b/llvm/tools/llvm-cxxdump/llvm-cxxdump.h
@@ -0,0 +1,22 @@
+//===-- llvm-cxxdump.h ------------------------------------------*- 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
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_TOOLS_LLVM_CXXDUMP_LLVM_CXXDUMP_H
+#define LLVM_TOOLS_LLVM_CXXDUMP_LLVM_CXXDUMP_H
+
+#include "llvm/Support/CommandLine.h"
+#include <string>
+
+namespace opts {
+extern llvm::cl::list<std::string> InputFilenames;
+} // namespace opts
+
+#define LLVM_CXXDUMP_ENUM_ENT(ns, enum) \
+ { #enum, ns::enum }
+
+#endif