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
This commit is contained in:
Chris Lattner 2009-03-26 05:00:03 +00:00
Родитель a23c74f6ba
Коммит e062533e29
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -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).