blob: 30aeb8f75eae953cec375d4ed3fc861dff3af507 [file] [log] [blame]
Mikhail Glushenkovfb37f392008-05-30 06:20:54 +00001//===--- AutoGenerated.cpp - The LLVM Compiler Driver -----------*- C++ -*-===//
Anton Korobeynikovac67b7e2008-03-23 08:57:20 +00002//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open
6// Source License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
Mikhail Glushenkovb90cd832008-05-06 16:34:12 +000010// Auto-generated tool descriptions - implementation.
Anton Korobeynikovac67b7e2008-03-23 08:57:20 +000011//
12//===----------------------------------------------------------------------===//
13
Mikhail Glushenkovb90cd832008-05-06 16:34:12 +000014#include "AutoGenerated.h"
15#include "CompilationGraph.h"
16#include "Tool.h"
Anton Korobeynikovac67b7e2008-03-23 08:57:20 +000017
Mikhail Glushenkovd83038c2008-05-06 18:13:45 +000018#include "llvm/ADT/StringExtras.h"
Anton Korobeynikovac67b7e2008-03-23 08:57:20 +000019#include "llvm/Support/CommandLine.h"
20
Mikhail Glushenkov08bd2e72008-05-30 06:12:24 +000021#include <cstdlib>
Anton Korobeynikovac67b7e2008-03-23 08:57:20 +000022#include <stdexcept>
Anton Korobeynikovac67b7e2008-03-23 08:57:20 +000023
24using namespace llvm;
Mikhail Glushenkovbe9d9a12008-05-06 18:08:59 +000025using namespace llvmc;
Anton Korobeynikovac67b7e2008-03-23 08:57:20 +000026
Mikhail Glushenkov2e73e852008-05-30 06:19:52 +000027namespace llvmc {
28 extern LanguageMap GlobalLanguageMap;
29 extern const std::string& GetLanguage(const sys::Path& File);
30}
31
Mikhail Glushenkov92b8da72008-05-30 06:24:07 +000032extern cl::opt<std::string> OutputFilename;
33
Mikhail Glushenkovb90cd832008-05-06 16:34:12 +000034// The auto-generated file
35#include "AutoGenerated.inc"