r297881 - Fix uninitialized value.
Zachary Turner via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 15 12:54:25 PDT 2017
Author: zturner
Date: Wed Mar 15 14:54:25 2017
New Revision: 297881
URL: http://llvm.org/viewvc/llvm-project?rev=297881&view=rev
Log:
Fix uninitialized value.
Modified:
cfe/trunk/lib/Driver/ToolChains/MSVC.h
Modified: cfe/trunk/lib/Driver/ToolChains/MSVC.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains/MSVC.h?rev=297881&r1=297880&r2=297881&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains/MSVC.h (original)
+++ cfe/trunk/lib/Driver/ToolChains/MSVC.h Wed Mar 15 14:54:25 2017
@@ -130,7 +130,7 @@ protected:
Tool *buildAssembler() const override;
private:
std::string VCToolChainPath;
- bool IsVS2017OrNewer;
+ bool IsVS2017OrNewer = false;
CudaInstallationDetector CudaInstallation;
};
More information about the cfe-commits
mailing list