thakis added a subscriber: thakis.
================
Comment at: lib/Driver/MSVCToolChain.cpp:477
@@ +476,3 @@
+ std::vector<char> VersionBlock(VersionSize);
+ if (!::GetFileVersionInfoA(ClExe.c_str(), 0, VersionSize,
+ VersionBlock.data())) {
----------------
We already stat a bunch of directories to find the sdk include path. Can we use
the result of that instead of looking at cl.exe? Then we wouldn't have to do
additional stats.
http://reviews.llvm.org/D20136
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits