]> granicus.if.org Git - clang/commitdiff
make this self contained, declare everything as 'class'.
authorChris Lattner <sabre@nondot.org>
Thu, 26 Mar 2009 05:00:03 +0000 (05:00 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 26 Mar 2009 05:00:03 +0000 (05:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67734 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Frontend/CompileOptions.h

index 1b20f0a3ac3a70a7e467c9aadc3094d211567d3f..86092708c72595b5546731376391443af5539da5 100644 (file)
 #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).