diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-08-23 22:35:37 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-08-23 22:35:37 +0000 |
commit | 82eb4ce47661d987735cf34ebb5289806f518c53 (patch) | |
tree | 93189ef418eedae36899e887936cea3a635d5088 /clang/lib/Frontend/ASTUnit.cpp | |
parent | f10f9bec833f6b438d52d3dcb70578bfde449116 (diff) | |
download | bcm5719-llvm-82eb4ce47661d987735cf34ebb5289806f518c53.tar.gz bcm5719-llvm-82eb4ce47661d987735cf34ebb5289806f518c53.zip |
Driver: Move Clang "triple" computation routines to method on the
ToolChain. This fixes a potenial bad cast when running Clang on PPC code, since
the tool chain in effect is not a subclass of the Darwin one, but we were
treating it like it was.
- This introduces some gross code duplication, but the right fix for it is to
just move the Driver to start depending on the targets in libBasic, so I am
not planning on fixing it immediately.
llvm-svn: 111856
Diffstat (limited to 'clang/lib/Frontend/ASTUnit.cpp')
0 files changed, 0 insertions, 0 deletions