]> granicus.if.org Git - clang/commit
Driver: Add a Tool::hasGoodDiagnostics hook, and use it to simplify logic for
authorDaniel Dunbar <daniel@zuster.org>
Tue, 6 Apr 2010 17:07:49 +0000 (17:07 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 6 Apr 2010 17:07:49 +0000 (17:07 +0000)
commit60a53f24b160724de0e8dd0e142009981540fd26
treebf1622e023c6493be66d690b06e3c667a53115d0
parent13438f9b9c8fdf08998c843dd307d2a9eda05b32
Driver: Add a Tool::hasGoodDiagnostics hook, and use it to simplify logic for
deciding when we need to emit an extra "command failed" diagnostic.
 - This also fixes the case where we were emitting that extra diagnostics, even
   when using clang w/ the integrated assembler, which has good diagnostics.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100529 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Tool.h
lib/Driver/Driver.cpp
lib/Driver/Tools.h