From e062533e298f72d970b2aa99cd0e3818b20d73df Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 26 Mar 2009 05:00:03 +0000 Subject: [PATCH] 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 --- include/clang/Frontend/CompileOptions.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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). -- 2.40.0