clang  15.0.0git
Functions
Flang.cpp File Reference
#include "Flang.h"
#include "CommonArgs.h"
#include "clang/Driver/Options.h"
#include <cassert>
Include dependency graph for Flang.cpp:

Go to the source code of this file.

Functions

static void addDashXForInput (const ArgList &Args, const InputInfo &Input, ArgStringList &CmdArgs)
 Add -x lang to CmdArgs for Input. More...
 

Function Documentation

◆ addDashXForInput()

static void addDashXForInput ( const ArgList &  Args,
const InputInfo Input,
ArgStringList &  CmdArgs 
)
static

Add -x lang to CmdArgs for Input.

Definition at line 23 of file Flang.cpp.

References clang::driver::InputInfo::getType(), and clang::driver::types::getTypeName().

Referenced by clang::driver::tools::Flang::ConstructJob().