Daniel Dunbar | 0498cfc | 2009-11-10 19:51:53 +0000 | [diff] [blame] | 1 | //===-- Options.h - clang-cc Option Handling --------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef LLVM_CLANGCC_OPTIONS_H |
| 11 | #define LLVM_CLANGCC_OPTIONS_H |
| 12 | |
| 13 | #include "llvm/ADT/StringMap.h" |
| 14 | |
| 15 | namespace clang { |
| 16 | |
| 17 | class CompileOptions; |
| 18 | class LangOptions; |
Daniel Dunbar | b52d243 | 2009-11-11 06:10:03 +0000 | [diff] [blame] | 19 | class PreprocessorOptions; |
Daniel Dunbar | 0498cfc | 2009-11-10 19:51:53 +0000 | [diff] [blame] | 20 | class TargetInfo; |
| 21 | |
Daniel Dunbar | b52d243 | 2009-11-11 06:10:03 +0000 | [diff] [blame] | 22 | // FIXME: This can be sunk into InitializeCompileOptions now that that happens |
| 23 | // before language initialization? |
Daniel Dunbar | 0498cfc | 2009-11-10 19:51:53 +0000 | [diff] [blame] | 24 | void ComputeFeatureMap(TargetInfo &Target, llvm::StringMap<bool> &Features); |
| 25 | |
| 26 | void InitializeCompileOptions(CompileOptions &Opts, |
| 27 | const llvm::StringMap<bool> &Features); |
| 28 | |
Daniel Dunbar | b52d243 | 2009-11-11 06:10:03 +0000 | [diff] [blame] | 29 | void InitializePreprocessorOptions(PreprocessorOptions &Opts); |
| 30 | |
Daniel Dunbar | 0498cfc | 2009-11-10 19:51:53 +0000 | [diff] [blame] | 31 | } // end namespace clang |
| 32 | |
| 33 | #endif |