[RewriteStatepointsForGC] Pull a function out of anon namespace [NFC]
[oota-llvm.git] / tools / llvm-pdbdump / llvm-pdbdump.h
index c8656a052d55f1187854e662d2934158076cdb33..586a9ea374ed3b26456bccb28f8f6ffa71b82c2c 100644 (file)
@@ -1,32 +1,32 @@
-//===- llvm-pdbdump.h - Common includes for llvm-pdbdump --------*- C++ -*-===//\r
-//\r
-//                     The LLVM Compiler Infrastructure\r
-//\r
-// This file is distributed under the University of Illinois Open Source\r
-// License. See LICENSE.TXT for details.\r
-//\r
-//===----------------------------------------------------------------------===//\r
-// Common defines and header includes for all llvm-pdbdump.  The definitions\r
-// here configure the necessary #defines and include system headers in the\r
-// proper order for using DIA.\r
-//===----------------------------------------------------------------------===//\r
-\r
-#ifndef LLVM_TOOLS_LLVMPDBDUMP_LLVMPDBDUMP_H\r
-#define LLVM_TOOLS_LLVMPDBDUMP_LLVMPDBDUMP_H\r
-\r
-#define NTDDI_VERSION NTDDI_VISTA\r
-#define _WIN32_WINNT _WIN32_WINNT_VISTA\r
-#define WINVER _WIN32_WINNT_VISTA\r
-#ifndef NOMINMAX\r
-#define NOMINMAX\r
-#endif\r
-\r
-// atlbase.h has to come before windows.h\r
-#include <atlbase.h>\r
-#include <windows.h>\r
-\r
-// DIA headers must come after windows headers.\r
-#include <cvconst.h>\r
-#include <dia2.h>\r
-\r
+//===- llvm-pdbdump.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_LLVMPDBDUMP_LLVMPDBDUMP_H
+#define LLVM_TOOLS_LLVMPDBDUMP_LLVMPDBDUMP_H
+
+#include "llvm/Support/CommandLine.h"
+#include "llvm/Support/raw_ostream.h"
+
+namespace opts {
+extern llvm::cl::opt<bool> Compilands;
+extern llvm::cl::opt<bool> Symbols;
+extern llvm::cl::opt<bool> Globals;
+extern llvm::cl::opt<bool> Types;
+extern llvm::cl::opt<bool> All;
+
+extern llvm::cl::opt<bool> ExcludeCompilerGenerated;
+
+extern llvm::cl::opt<bool> NoClassDefs;
+extern llvm::cl::opt<bool> NoEnumDefs;
+extern llvm::cl::list<std::string> ExcludeTypes;
+extern llvm::cl::list<std::string> ExcludeSymbols;
+extern llvm::cl::list<std::string> ExcludeCompilands;
+}
+
 #endif
\ No newline at end of file