Remove an extra is_directory call.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 15 Jul 2013 20:52:01 +0000 (20:52 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 15 Jul 2013 20:52:01 +0000 (20:52 +0000)
commit8ea26d6a80df408a4fe6aca69745f87610fe7234
tree162eb849c1dc5de56dbb419174e955a0688be12e
parent1c682f0f0c5bd24c8886894daf87cba1b37645e4
Remove an extra is_directory call.

I checked that opening a directory on windows does fail, so this saves a "stat".

llvm-svn: 186345
llvm/lib/Support/MemoryBuffer.cpp