[PATCH] Driver: support detecting driver mode when clang has a version suffix without dash (PR21094)

Hans Wennborg hans at chromium.org
Thu Oct 16 13:46:36 PDT 2014


Hi dblaikie, majnemer,

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 clearer.

http://reviews.llvm.org/D5833

Files:
  test/Driver/parse-progname.c
  tools/driver/driver.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5833.15045.patch
Type: text/x-patch
Size: 9246 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141016/4a2587ce/attachment.bin>


More information about the cfe-commits mailing list