|
@@ -11,14 +11,13 @@
|
|
//
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
-#ifndef LLVM_CLANG_BASIC_CODEGENOPTIONS_H
|
|
|
|
-#define LLVM_CLANG_BASIC_CODEGENOPTIONS_H
|
|
|
|
|
|
+#ifndef LLVM_CLANG_FRONTEND_CODEGENOPTIONS_H
|
|
|
|
+#define LLVM_CLANG_FRONTEND_CODEGENOPTIONS_H
|
|
|
|
|
|
#include "clang/Basic/DebugInfoOptions.h"
|
|
#include "clang/Basic/DebugInfoOptions.h"
|
|
#include "clang/Basic/Sanitizers.h"
|
|
#include "clang/Basic/Sanitizers.h"
|
|
#include "llvm/Support/Regex.h"
|
|
#include "llvm/Support/Regex.h"
|
|
#include "llvm/Target/TargetOptions.h"
|
|
#include "llvm/Target/TargetOptions.h"
|
|
-
|
|
|
|
#include <map>
|
|
#include <map>
|
|
#include <memory>
|
|
#include <memory>
|
|
#include <string>
|
|
#include <string>
|
|
@@ -32,12 +31,12 @@ class CodeGenOptionsBase {
|
|
public:
|
|
public:
|
|
#define CODEGENOPT(Name, Bits, Default) unsigned Name : Bits;
|
|
#define CODEGENOPT(Name, Bits, Default) unsigned Name : Bits;
|
|
#define ENUM_CODEGENOPT(Name, Type, Bits, Default)
|
|
#define ENUM_CODEGENOPT(Name, Type, Bits, Default)
|
|
-#include "clang/Basic/CodeGenOptions.def"
|
|
|
|
|
|
+#include "clang/Frontend/CodeGenOptions.def"
|
|
|
|
|
|
protected:
|
|
protected:
|
|
#define CODEGENOPT(Name, Bits, Default)
|
|
#define CODEGENOPT(Name, Bits, Default)
|
|
#define ENUM_CODEGENOPT(Name, Type, Bits, Default) unsigned Name : Bits;
|
|
#define ENUM_CODEGENOPT(Name, Type, Bits, Default) unsigned Name : Bits;
|
|
-#include "clang/Basic/CodeGenOptions.def"
|
|
|
|
|
|
+#include "clang/Frontend/CodeGenOptions.def"
|
|
};
|
|
};
|
|
|
|
|
|
/// CodeGenOptions - Track various options which control how the code
|
|
/// CodeGenOptions - Track various options which control how the code
|
|
@@ -212,7 +211,7 @@ public:
|
|
#define ENUM_CODEGENOPT(Name, Type, Bits, Default) \
|
|
#define ENUM_CODEGENOPT(Name, Type, Bits, Default) \
|
|
Type get##Name() const { return static_cast<Type>(Name); } \
|
|
Type get##Name() const { return static_cast<Type>(Name); } \
|
|
void set##Name(Type Value) { Name = static_cast<unsigned>(Value); }
|
|
void set##Name(Type Value) { Name = static_cast<unsigned>(Value); }
|
|
-#include "clang/Basic/CodeGenOptions.def"
|
|
|
|
|
|
+#include "clang/Frontend/CodeGenOptions.def"
|
|
|
|
|
|
CodeGenOptions();
|
|
CodeGenOptions();
|
|
|
|
|