[cfe-commits] r164907 - in /cfe/trunk: include/clang/Basic/ObjCRuntime.h lib/CodeGen/CGObjC.cpp lib/Driver/ToolChains.cpp lib/Driver/Tools.cpp runtime/compiler-rt/Makefile test/CodeGenObjC/optimized-setter-ios-device.m test/CodeGenObjC/optimized-

Anton Korobeynikov anton at korobeynikov.info
Mon Oct 8 15:33:39 PDT 2012


Bob,

>    const Driver &D = getToolChain().getDriver();
> -  llvm::Triple Triple = getToolChain().getTriple();
> +  // Get the effective triple, which takes into account the deployment target.
> +  std::string TripleStr = getToolChain().ComputeEffectiveClangTriple(Args);
> +  llvm::Triple Triple(TripleStr);
A lot of code down contains calls like
getToolChain().getTriple().isFoo(). Should they be moved to use this
Triple ?

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the cfe-commits mailing list