]> granicus.if.org Git - clang/commit
Rewrite-imports on crash: Simplify handling
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 15 Nov 2018 03:04:19 +0000 (03:04 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 15 Nov 2018 03:04:19 +0000 (03:04 +0000)
commit7a7947889fb274b80557161b55db053c72ff3114
treea1d9fe1b4371c6b67cbbe47fdd5e77e5534bcd11
parentb91d0388756355970697767626d1f631b7fa1066
Rewrite-imports on crash: Simplify handling

-frewrite-imports already implies -frewrite-includes (it piggy-backs
on/extends the implementation) so there's no need to conditionally pass
-frewrite-includes when already using -frewrite-imports (& especially I
don't think these would want to be different between crash reporting and
not crash reporting)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@346927 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Clang.cpp