From: Paul Robinson Date: Fri, 5 Feb 2016 21:54:42 +0000 (+0000) Subject: Move DebugInfoKind enum from Driver to Basic. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a9865e6ffaade033a3cd579491c70fcce2dff7e;p=clang Move DebugInfoKind enum from Driver to Basic. NFC git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@259935 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/DebugInfoKind.h b/include/clang/Basic/DebugInfoOptions.h similarity index 90% rename from include/clang/Driver/DebugInfoKind.h rename to include/clang/Basic/DebugInfoOptions.h index 0f84f33928..e7ff4a662b 100644 --- a/include/clang/Driver/DebugInfoKind.h +++ b/include/clang/Basic/DebugInfoOptions.h @@ -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 { diff --git a/include/clang/Frontend/CodeGenOptions.h b/include/clang/Frontend/CodeGenOptions.h index e064c2fff9..a43105b231 100644 --- a/include/clang/Frontend/CodeGenOptions.h +++ b/include/clang/Frontend/CodeGenOptions.h @@ -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 #include diff --git a/lib/Driver/Tools.h b/lib/Driver/Tools.h index 1b8176f883..1d348bbbd6 100644 --- a/lib/Driver/Tools.h +++ b/lib/Driver/Tools.h @@ -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"