[cfe-commits] r67734 - /cfe/trunk/include/clang/Frontend/CompileOptions.h

Chris Lattner sabre at nondot.org
Wed Mar 25 22:00:03 PDT 2009


Author: lattner
Date: Thu Mar 26 00:00:03 2009
New Revision: 67734

URL: http://llvm.org/viewvc/llvm-project?rev=67734&view=rev
Log:
make this self contained, declare everything as 'class'.

Modified:
    cfe/trunk/include/clang/Frontend/CompileOptions.h

Modified: cfe/trunk/include/clang/Frontend/CompileOptions.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/CompileOptions.h?rev=67734&r1=67733&r2=67734&view=diff

==============================================================================
--- cfe/trunk/include/clang/Frontend/CompileOptions.h (original)
+++ cfe/trunk/include/clang/Frontend/CompileOptions.h Thu Mar 26 00:00:03 2009
@@ -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).





More information about the cfe-commits mailing list