Home
last modified time | relevance | path

Searched refs:TargetMode (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Tooling/
DTooling.cpp187 auto TargetMode = in addTargetAndModeForProgramName() local
189 if (!AlreadyHasMode && !TargetMode.second.empty()) { in addTargetAndModeForProgramName()
190 CommandLine.insert(++CommandLine.begin(), TargetMode.second); in addTargetAndModeForProgramName()
192 if (!AlreadyHasTarget && !TargetMode.first.empty()) { in addTargetAndModeForProgramName()
193 CommandLine.insert(++CommandLine.begin(), {"-target", TargetMode.first}); in addTargetAndModeForProgramName()
/external/llvm-project/clang/lib/Tooling/
DTooling.cpp261 auto TargetMode = in addTargetAndModeForProgramName() local
264 bool ShouldAddTarget = TargetMode.TargetIsValid; in addTargetAndModeForProgramName()
265 bool ShouldAddMode = TargetMode.DriverMode != nullptr; in addTargetAndModeForProgramName()
275 CommandLine.insert(++CommandLine.begin(), TargetMode.DriverMode); in addTargetAndModeForProgramName()
279 TargetOPT + TargetMode.TargetPrefix); in addTargetAndModeForProgramName()