clang: Remove use of auto which may have been a triple copy (#201880)
This commit is contained in:
parent
559ea918df
commit
96f3f0a7f7
1 changed files with 2 additions and 2 deletions
|
|
@ -5411,8 +5411,8 @@ Action *Driver::ConstructPhaseAction(
|
|||
offloadDeviceOnly() &&
|
||||
!Args.hasFlag(options::OPT_fgpu_rdc, options::OPT_fno_gpu_rdc, false);
|
||||
|
||||
auto &DefaultToolChain = C.getDefaultToolChain();
|
||||
auto DefaultToolChainTriple = DefaultToolChain.getTriple();
|
||||
const ToolChain &DefaultToolChain = C.getDefaultToolChain();
|
||||
const llvm::Triple &DefaultToolChainTriple = DefaultToolChain.getTriple();
|
||||
// For regular C/C++ to AMD SPIRV emit bitcode to avoid spirv-link
|
||||
// dependency, SPIRVAMDToolChain's linker takes care of the generation of
|
||||
// the final SPIRV. The only exception is -S without -emit-llvm to output
|
||||
|
|
|
|||
Loading…
Reference in a new issue