Home
last modified time | relevance | path

Searched refs:IsCLMode (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DCompileCommands.cpp212 bool IsCLMode = driver::IsClangCL(driver::getDriverMode( in adjust() local
223 IsCLMode ? (driver::options::CLOption | driver::options::CoreOption | in adjust()
227 (IsCLMode in adjust()
/llvm-project-15.0.7/clang/lib/Driver/
H A DDriver.cpp310 DiagID = IsCLMode() ? diag::warn_drv_unknown_argument_clang_cl in ParseArgStrings()
314 DiagID = IsCLMode() in ParseArgStrings()
944 ParseArgStrings(NewCfgArgs, IsCLMode(), ContainErrors)); in readConfigFile()
1168 if (IsCLMode() && !ContainsError) { in BuildCompilation()
1231 if (IsCLMode()) { in BuildCompilation()
1793 getIncludeExcludeOptionFlagMasks(IsCLMode()); in PrintHelp()
2360 getIncludeExcludeOptionFlagMasks(IsCLMode()); in DiagnoseInputExistence()
3910 if (IsCLMode() && LTOMode != LTOK_None && in handleArguments()
5685 if (IsCLMode()) { in GetNamedOutputPath()
5710 } else if (JA.getType() == types::TY_PCH && IsCLMode()) { in GetNamedOutputPath()
[all …]
H A DCompilation.cpp257 if (TheDriver.IsCLMode()) in ExecuteJobs()
/llvm-project-15.0.7/clang/include/clang/Driver/
H A DDriver.h215 bool IsCLMode() const { return Mode == CLMode; } in IsCLMode() function
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DMSVC.cpp84 !C.getDriver().IsCLMode() && !C.getDriver().IsFlangMode()) { in ConstructJob()
153 if (!C.getDriver().IsCLMode() && Args.hasArg(options::OPT_L)) in ConstructJob()
H A DClang.cpp70 << (D.IsCLMode() ? "/E, /P or /EP" : "-E"); in CheckPreprocessingOptions()
1330 if (getToolChain().getDriver().IsCLMode()) { in AddPreprocessingOptions()
2294 } else if (D.IsCLMode()) { in AddX86TargetArgs()
5233 bool TBAAOnByDefault = !D.IsCLMode(); in ConstructJob()
5475 if (D.IsCLMode()) in ConstructJob()
6631 if (!C.getDriver().IsCLMode()) in ConstructJob()
/llvm-project-15.0.7/clang/unittests/Driver/
H A DToolChainTest.cpp197 EXPECT_TRUE(CLDriver.IsCLMode()); in TEST()