aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-26 05:00:03 +0000
committerChris Lattner <sabre@nondot.org>2009-03-26 05:00:03 +0000
commite062533e298f72d970b2aa99cd0e3818b20d73df (patch)
tree42404cbd94be3415729d2df0272bf200457195a7
parenta23c74f6ba9dacb4a91fa2f9d785875318a2f929 (diff)
make this self contained, declare everything as 'class'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67734 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Frontend/CompileOptions.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/clang/Frontend/CompileOptions.h b/include/clang/Frontend/CompileOptions.h
index 1b20f0a3ac..86092708c7 100644
--- a/include/clang/Frontend/CompileOptions.h
+++ b/include/clang/Frontend/CompileOptions.h
@@ -14,11 +14,15 @@
#ifndef LLVM_CLANG_FRONTEND_COMPILEOPTIONS_H
#define LLVM_CLANG_FRONTEND_COMPILEOPTIONS_H
+#include <string>
+#include <vector>
+
namespace clang {
/// CompileOptions - Track various options which control how the code
/// is optimized and passed to the backend.
-struct CompileOptions {
+class CompileOptions {
+public:
unsigned OptimizationLevel : 3; /// The -O[0-4] option specified.
unsigned OptimizeSize : 1; /// If -Os is specified.
unsigned DebugInfo : 1; /// Should generate deubg info (-g).