commit | 1a27e04af9a1e0301546953f9e9fcb101e7d0f1b | [log] [tgz] |
---|---|---|
author | Hans Wennborg <hans@hanshq.net> | Fri Oct 17 17:07:59 2014 +0000 |
committer | Hans Wennborg <hans@hanshq.net> | Fri Oct 17 17:07:59 2014 +0000 |
tree | cc2569a055a57f919fc1c957bbff3b0fc6371a61 | |
parent | f497d5511d1aff061c3af95b13796f8a4b05a4d0 [diff] |
Driver: support detecting driver mode when clang has a version suffix without dash (PR21094) Clang would previously not get into C++ mode when invoked as 'clang++3.6' (though clang++-3.6 would work). I found the previous loop logic in this function confusing; hopefully this makes it a little clearer. Differential Revision: http://reviews.llvm.org/D5833 llvm-svn: 220052