Home
last modified time | relevance | path

Searched refs:DriverMode (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/clang/unittests/Driver/
DToolChainTest.cpp172 EXPECT_TRUE(Empty.DriverMode == nullptr); in TEST()
178 EXPECT_TRUE(DriverOnly.DriverMode == nullptr); in TEST()
184 EXPECT_STREQ(DriverOnly2.DriverMode, "--driver-mode=g++"); in TEST()
190 EXPECT_STREQ(TargetAndMode.DriverMode, "--driver-mode=g++"); in TEST()
203 EXPECT_TRUE(Res.DriverMode == nullptr); in TEST()
209 EXPECT_STREQ(Res.DriverMode, "--driver-mode=g++"); in TEST()
215 EXPECT_STREQ(Res.DriverMode, "--driver-mode=g++"); in TEST()
221 EXPECT_STREQ(Res.DriverMode, "--driver-mode=g++"); in TEST()
227 EXPECT_STREQ(Res.DriverMode, "--driver-mode=g++"); in TEST()
234 EXPECT_STREQ(Res.DriverMode, "--driver-mode=g++"); in TEST()
[all …]
/external/llvm-project/clang-tools-extra/clangd/
DCompileCommands.cpp278 enum DriverMode : unsigned char { enum
287 DriverMode getDriverMode(const std::vector<std::string> &Args) { in getDriverMode()
288 DriverMode Mode = DM_GCC; in getDriverMode()
471 DriverMode MainMode = getDriverMode(Args); in process()
472 DriverMode CurrentMode = MainMode; in process()
/external/llvm-project/clang/include/clang/Driver/
DToolChain.h71 const char *DriverMode = nullptr; member
78 : ModeSuffix(Suffix), DriverMode(Mode) {} in ParsedClangName()
81 : TargetPrefix(Target), ModeSuffix(Suffix), DriverMode(Mode), in ParsedClangName()
85 return TargetPrefix.empty() && ModeSuffix.empty() && DriverMode == nullptr; in isEmpty()
DDriver.h64 enum DriverMode { enum
/external/llvm-project/clang/tools/driver/
Ddriver.cpp223 if (NameParts.DriverMode) { in insertTargetAndModeArgs()
226 GetStableCStr(SavedStrings, NameParts.DriverMode)); in insertTargetAndModeArgs()
368 if (StringRef(TargetAndMode.DriverMode).equals("--driver-mode=cl") || in main()
/external/clang/include/clang/Driver/
DDriver.h73 enum DriverMode { enum
/external/llvm-project/clang/lib/Tooling/
DTooling.cpp265 bool ShouldAddMode = TargetMode.DriverMode != nullptr; in addTargetAndModeForProgramName()
275 CommandLine.insert(++CommandLine.begin(), TargetMode.DriverMode); in addTargetAndModeForProgramName()
/external/llvm-project/clang/lib/Driver/
DDriver.cpp173 setDriverModeFromOption(ClangNameParts.DriverMode); in ParseDriverMode()
191 if (auto M = llvm::StringSwitch<llvm::Optional<DriverMode>>(Value) in setDriverModeFromOption()
/external/clang/lib/Driver/
DDriver.cpp113 Mode = static_cast<DriverMode>(M); in ParseDriverMode()