LLVM  4.0.0
Windows/Host.inc
Go to the documentation of this file.
1 //===- llvm/Support/Win32/Host.inc ------------------------------*- 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 // This file implements the Win32 Host support.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #include "WindowsSupport.h"
15 #include <cstdio>
16 #include <string>
17 
18 using namespace llvm;
19 
20 std::string sys::getDefaultTargetTriple() {
21  return Triple::normalize(LLVM_DEFAULT_TARGET_TRIPLE);
22 }
std::string getDefaultTargetTriple()
getDefaultTargetTriple() - Return the default target triple the compiler has been configured to produ...
std::string normalize() const
Return the normalized form of this triple's string.
Definition: Triple.h:263