diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-26 05:00:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-26 05:00:03 +0000 |
commit | 897b41dd77356c408eaa4a02f3d23b7da0a5ece7 (patch) | |
tree | d2df3b49e902cd3c5ad4e840bbdd34e0e089f96c | |
parent | 5e31037164c57b2fdd7cb5df5b17a0dc715a50f9 (diff) | |
download | bcm5719-llvm-897b41dd77356c408eaa4a02f3d23b7da0a5ece7.tar.gz bcm5719-llvm-897b41dd77356c408eaa4a02f3d23b7da0a5ece7.zip |
make this self contained, declare everything as 'class'.
llvm-svn: 67734
-rw-r--r-- | clang/include/clang/Frontend/CompileOptions.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/include/clang/Frontend/CompileOptions.h b/clang/include/clang/Frontend/CompileOptions.h index 1b20f0a3ac3..86092708c72 100644 --- a/clang/include/clang/Frontend/CompileOptions.h +++ b/clang/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). |