]> granicus.if.org Git - clang/commit
improve compatibility with GCC: when generating the ".d" filename to use
authorChris Lattner <sabre@nondot.org>
Sun, 16 Jan 2011 08:14:11 +0000 (08:14 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 16 Jan 2011 08:14:11 +0000 (08:14 +0000)
commit657ca6683d754c903026221a3aa3aa9cedb7556f
treebbe67a23a21e04c2568b3ecdb3cb06e55dba5c15
parent7c4a4a07b28cc529f63f2c20ddffbc02190e4f27
improve compatibility with GCC: when generating the ".d" filename to use
and the filename has multiple .'s in it, use the last.  For example, "foo.bar.cpp"
should produce "foo.bar.d" not "foo.d".  Patch by Johan Boule in PR8391

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