aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-cxxdump/llvm-cxxdump.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2015-05-27 18:44:32 +0000
committerDimitry Andric <dim@FreeBSD.org>2015-05-27 18:44:32 +0000
commit5a5ac124e1efaf208671f01c46edb15f29ed2a0b (patch)
treea6140557876943cdd800ee997c9317283394b22c /tools/llvm-cxxdump/llvm-cxxdump.h
parentf03b5bed27d0d2eafd68562ce14f8b5e3f1f0801 (diff)
Diffstat (limited to 'tools/llvm-cxxdump/llvm-cxxdump.h')
-rw-r--r--tools/llvm-cxxdump/llvm-cxxdump.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/llvm-cxxdump/llvm-cxxdump.h b/tools/llvm-cxxdump/llvm-cxxdump.h
new file mode 100644
index 000000000000..daa05cb2ca0a
--- /dev/null
+++ b/tools/llvm-cxxdump/llvm-cxxdump.h
@@ -0,0 +1,23 @@
+//===-- llvm-cxxdump.h ------------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#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