mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-03 11:23:58 +00:00
[NFC] Move OptionUtils from Basic to Driver
Differential Revision: https://reviews.llvm.org/D71802
This commit is contained in:
parent
109e4e3851
commit
eca40066eb
@ -10,8 +10,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_CLANG_BASIC_OPTIONUTILS_H
|
||||
#define LLVM_CLANG_BASIC_OPTIONUTILS_H
|
||||
#ifndef LLVM_CLANG_DRIVER_OPTIONUTILS_H
|
||||
#define LLVM_CLANG_DRIVER_OPTIONUTILS_H
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
@ -55,4 +55,4 @@ inline uint64_t getLastArgUInt64Value(const llvm::opt::ArgList &Args,
|
||||
|
||||
} // namespace clang
|
||||
|
||||
#endif // LLVM_CLANG_BASIC_OPTIONUTILS_H
|
||||
#endif // LLVM_CLANG_DRIVER_OPTIONUTILS_H
|
@ -15,7 +15,7 @@
|
||||
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
#include "clang/Basic/LLVM.h"
|
||||
#include "clang/Basic/OptionUtils.h"
|
||||
#include "clang/Driver/OptionUtils.h"
|
||||
#include "clang/Frontend/DependencyOutputOptions.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/IntrusiveRefCntPtr.h"
|
||||
|
@ -1,7 +1,6 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
Core
|
||||
MC
|
||||
Option
|
||||
Support
|
||||
)
|
||||
|
||||
@ -56,7 +55,6 @@ add_clang_library(clangBasic
|
||||
ObjCRuntime.cpp
|
||||
OpenMPKinds.cpp
|
||||
OperatorPrecedence.cpp
|
||||
OptionUtils.cpp
|
||||
SanitizerBlacklist.cpp
|
||||
SanitizerSpecialCaseList.cpp
|
||||
Sanitizers.cpp
|
||||
|
@ -19,6 +19,7 @@ add_clang_library(clangDriver
|
||||
DriverOptions.cpp
|
||||
Job.cpp
|
||||
Multilib.cpp
|
||||
OptionUtils.cpp
|
||||
Phases.cpp
|
||||
SanitizerArgs.cpp
|
||||
Tool.cpp
|
||||
|
@ -6,9 +6,9 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang/Basic/OptionUtils.h"
|
||||
#include "clang/Basic/Diagnostic.h"
|
||||
#include "clang/Basic/DiagnosticDriver.h"
|
||||
#include "clang/Driver/OptionUtils.h"
|
||||
#include "llvm/Option/ArgList.h"
|
||||
|
||||
using namespace clang;
|
Loading…
Reference in New Issue
Block a user