Searched refs:DriverMode (Results 1 – 9 of 9) sorted by relevance
/external/llvm-project/clang/unittests/Driver/ |
D | ToolChainTest.cpp | 172 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/ |
D | CompileCommands.cpp | 278 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/ |
D | ToolChain.h | 71 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()
|
D | Driver.h | 64 enum DriverMode { enum
|
/external/llvm-project/clang/tools/driver/ |
D | driver.cpp | 223 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/ |
D | Driver.h | 73 enum DriverMode { enum
|
/external/llvm-project/clang/lib/Tooling/ |
D | Tooling.cpp | 265 bool ShouldAddMode = TargetMode.DriverMode != nullptr; in addTargetAndModeForProgramName() 275 CommandLine.insert(++CommandLine.begin(), TargetMode.DriverMode); in addTargetAndModeForProgramName()
|
/external/llvm-project/clang/lib/Driver/ |
D | Driver.cpp | 173 setDriverModeFromOption(ClangNameParts.DriverMode); in ParseDriverMode() 191 if (auto M = llvm::StringSwitch<llvm::Optional<DriverMode>>(Value) in setDriverModeFromOption()
|
/external/clang/lib/Driver/ |
D | Driver.cpp | 113 Mode = static_cast<DriverMode>(M); in ParseDriverMode()
|