From: Chris Lattner Date: Thu, 26 Mar 2009 05:00:03 +0000 (+0000) Subject: make this self contained, declare everything as 'class'. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e062533e298f72d970b2aa99cd0e3818b20d73df;p=clang 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 --- 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 +#include + 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).