">

clang: lib/Driver/ToolChains/MSVC.cpp File Reference (original) (raw)

#include "[MSVC.h](MSVC%5F8h%5Fsource.html)"
#include "[CommonArgs.h](CommonArgs%5F8h%5Fsource.html)"
#include "[Darwin.h](Darwin%5F8h%5Fsource.html)"
#include "[clang/Basic/CharInfo.h](CharInfo%5F8h%5Fsource.html)"
#include "[clang/Basic/Version.h](Version%5F8h%5Fsource.html)"
#include "clang/Config/config.h"
#include "[clang/Driver/Compilation.h](Compilation%5F8h%5Fsource.html)"
#include "[clang/Driver/Driver.h](Driver%5F8h%5Fsource.html)"
#include "[clang/Driver/DriverDiagnostic.h](DriverDiagnostic%5F8h%5Fsource.html)"
#include "[clang/Driver/Options.h](Options%5F8h%5Fsource.html)"
#include "[clang/Driver/SanitizerArgs.h](SanitizerArgs%5F8h%5Fsource.html)"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Option/Arg.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Support/ConvertUTF.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/VirtualFileSystem.h"
#include "llvm/TargetParser/Host.h"
#include <cstdio>

Go to the source code of this file.

Functions
static bool canExecute (llvm::vfs::FileSystem &VFS, StringRef Path)
static std::string FindVisualStudioExecutable (const ToolChain &TC, const char *Exe)
static VersionTuple getMSVCVersionFromExe (const std::string &BinDir)
static void TranslateOptArg (Arg *A, llvm::opt::DerivedArgList &DAL, bool SupportsForcingFramePointer, const char *ExpandChar, const OptTable &Opts)
static void TranslateDArg (Arg *A, llvm::opt::DerivedArgList &DAL, const OptTable &Opts)
static void TranslatePermissive (Arg *A, llvm::opt::DerivedArgList &DAL, const OptTable &Opts)
static void TranslatePermissiveMinus (Arg *A, llvm::opt::DerivedArgList &DAL, const OptTable &Opts)

canExecute()

static bool canExecute ( llvm::vfs::FileSystem & VFS, StringRef Path ) static

FindVisualStudioExecutable()

static std::string FindVisualStudioExecutable ( const ToolChain & TC, const char * Exe ) static

getMSVCVersionFromExe()

static VersionTuple getMSVCVersionFromExe ( const std::string & BinDir) static

TranslateDArg()

static void TranslateDArg ( Arg * A, llvm::opt::DerivedArgList & DAL, const OptTable & Opts ) static

TranslateOptArg()

static void TranslateOptArg ( Arg * A, llvm::opt::DerivedArgList & DAL, bool SupportsForcingFramePointer, const char * ExpandChar, const OptTable & Opts ) static

TranslatePermissive()

static void TranslatePermissive ( Arg * A, llvm::opt::DerivedArgList & DAL, const OptTable & Opts ) static

TranslatePermissiveMinus()

static void TranslatePermissiveMinus ( Arg * A, llvm::opt::DerivedArgList & DAL, const OptTable & Opts ) static