clang  15.0.0git
Functions
MSVC.cpp File Reference
#include "MSVC.h"
#include "CommonArgs.h"
#include "Darwin.h"
#include "clang/Basic/CharInfo.h"
#include "clang/Basic/Version.h"
#include "clang/Config/config.h"
#include "clang/Driver/Compilation.h"
#include "clang/Driver/Driver.h"
#include "clang/Driver/DriverDiagnostic.h"
#include "clang/Driver/Options.h"
#include "clang/Driver/SanitizerArgs.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringSwitch.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/Host.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/VirtualFileSystem.h"
#include <cstdio>
Include dependency graph for MSVC.cpp:

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)
 

Function Documentation

◆ 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

Definition at line 895 of file MSVC.cpp.

References string().

Referenced by clang::driver::toolchains::MSVCToolChain::TranslateArgs().

◆ TranslateOptArg()

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

Definition at line 799 of file MSVC.cpp.

Referenced by clang::driver::toolchains::MSVCToolChain::TranslateArgs().

◆ TranslatePermissive()

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

Definition at line 911 of file MSVC.cpp.

Referenced by clang::driver::toolchains::MSVCToolChain::TranslateArgs().

◆ TranslatePermissiveMinus()

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

Definition at line 917 of file MSVC.cpp.

Referenced by clang::driver::toolchains::MSVCToolChain::TranslateArgs().