Author: probinson Date: Fri Feb 5 15:54:42 2016 New Revision: 259935 URL: http://llvm.org/viewvc/llvm-project?rev=259935&view=rev Log: Move DebugInfoKind enum from Driver to Basic. NFC
Added: cfe/trunk/include/clang/Basic/DebugInfoOptions.h - copied, changed from r259876, cfe/trunk/include/clang/Driver/DebugInfoKind.h Removed: cfe/trunk/include/clang/Driver/DebugInfoKind.h Modified: cfe/trunk/include/clang/Frontend/CodeGenOptions.h cfe/trunk/lib/Driver/Tools.h Copied: cfe/trunk/include/clang/Basic/DebugInfoOptions.h (from r259876, cfe/trunk/include/clang/Driver/DebugInfoKind.h) URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DebugInfoOptions.h?p2=cfe/trunk/include/clang/Basic/DebugInfoOptions.h&p1=cfe/trunk/include/clang/Driver/DebugInfoKind.h&r1=259876&r2=259935&rev=259935&view=diff ============================================================================== --- cfe/trunk/include/clang/Driver/DebugInfoKind.h (original) +++ cfe/trunk/include/clang/Basic/DebugInfoOptions.h Fri Feb 5 15:54:42 2016 @@ -1,4 +1,4 @@ -//===--- DebugInfoKind.h - Debug Info Emission Types ------------*- C++ -*-===// +//===--- DebugInfoOptions.h - Debug Info Emission Types ---------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -7,8 +7,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_CLANG_DRIVER_DEBUGINFOKIND_H -#define LLVM_CLANG_DRIVER_DEBUGINFOKIND_H +#ifndef LLVM_CLANG_BASIC_DEBUGINFOOPTIONS_H +#define LLVM_CLANG_BASIC_DEBUGINFOOPTIONS_H namespace clang { namespace codegenoptions { Removed: cfe/trunk/include/clang/Driver/DebugInfoKind.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/DebugInfoKind.h?rev=259934&view=auto ============================================================================== --- cfe/trunk/include/clang/Driver/DebugInfoKind.h (original) +++ cfe/trunk/include/clang/Driver/DebugInfoKind.h (removed) @@ -1,39 +0,0 @@ -//===--- DebugInfoKind.h - Debug Info Emission Types ------------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_CLANG_DRIVER_DEBUGINFOKIND_H -#define LLVM_CLANG_DRIVER_DEBUGINFOKIND_H - -namespace clang { -namespace codegenoptions { - -enum DebugInfoKind { - NoDebugInfo, /// Don't generate debug info. - LocTrackingOnly, /// Emit location information but do not generate - /// debug info in the output. This is useful in - /// cases where the backend wants to track source - /// locations for instructions without actually - /// emitting debug info for them (e.g., when -Rpass - /// is used). - DebugLineTablesOnly, /// Emit only debug info necessary for generating - /// line number tables (-gline-tables-only). - LimitedDebugInfo, /// Limit generated debug info to reduce size - /// (-fno-standalone-debug). This emits - /// forward decls for types that could be - /// replaced with forward decls in the source - /// code. For dynamic C++ classes type info - /// is only emitted int the module that - /// contains the classe's vtable. - FullDebugInfo /// Generate complete debug info. -}; - -} // end namespace codegenoptions -} // end namespace clang - -#endif Modified: cfe/trunk/include/clang/Frontend/CodeGenOptions.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/CodeGenOptions.h?rev=259935&r1=259934&r2=259935&view=diff ============================================================================== --- cfe/trunk/include/clang/Frontend/CodeGenOptions.h (original) +++ cfe/trunk/include/clang/Frontend/CodeGenOptions.h Fri Feb 5 15:54:42 2016 @@ -14,8 +14,8 @@ #ifndef LLVM_CLANG_FRONTEND_CODEGENOPTIONS_H #define LLVM_CLANG_FRONTEND_CODEGENOPTIONS_H +#include "clang/Basic/DebugInfoOptions.h" #include "clang/Basic/Sanitizers.h" -#include "clang/Driver/DebugInfoKind.h" #include "llvm/Support/Regex.h" #include <map> #include <memory> Modified: cfe/trunk/lib/Driver/Tools.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.h?rev=259935&r1=259934&r2=259935&view=diff ============================================================================== --- cfe/trunk/lib/Driver/Tools.h (original) +++ cfe/trunk/lib/Driver/Tools.h Fri Feb 5 15:54:42 2016 @@ -10,8 +10,8 @@ #ifndef LLVM_CLANG_LIB_DRIVER_TOOLS_H #define LLVM_CLANG_LIB_DRIVER_TOOLS_H +#include "clang/Basic/DebugInfoOptions.h" #include "clang/Basic/VersionTuple.h" -#include "clang/Driver/DebugInfoKind.h" #include "clang/Driver/Tool.h" #include "clang/Driver/Types.h" #include "clang/Driver/Util.h" _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits