blob: ac9e4a58f93bf59c2dd626db1f61112cfc24f186 [file] [log] [blame]
Daniel Dunbar0498cfc2009-11-10 19:51:53 +00001//===-- 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
15namespace clang {
16
17class CompileOptions;
18class LangOptions;
Daniel Dunbarb52d2432009-11-11 06:10:03 +000019class PreprocessorOptions;
Daniel Dunbar0498cfc2009-11-10 19:51:53 +000020class TargetInfo;
21
Daniel Dunbarb52d2432009-11-11 06:10:03 +000022// FIXME: This can be sunk into InitializeCompileOptions now that that happens
23// before language initialization?
Daniel Dunbar0498cfc2009-11-10 19:51:53 +000024void ComputeFeatureMap(TargetInfo &Target, llvm::StringMap<bool> &Features);
25
26void InitializeCompileOptions(CompileOptions &Opts,
27 const llvm::StringMap<bool> &Features);
28
Daniel Dunbarb52d2432009-11-11 06:10:03 +000029void InitializePreprocessorOptions(PreprocessorOptions &Opts);
30
Daniel Dunbar0498cfc2009-11-10 19:51:53 +000031} // end namespace clang
32
33#endif