r252045 - Initialize member field.
Erik Verbruggen via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 4 06:34:44 PST 2015
Author: erikjv
Date: Wed Nov 4 08:34:43 2015
New Revision: 252045
URL: http://llvm.org/viewvc/llvm-project?rev=252045&view=rev
Log:
Initialize member field.
Modified:
cfe/trunk/include/clang/Frontend/FrontendOptions.h
Modified: cfe/trunk/include/clang/Frontend/FrontendOptions.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/FrontendOptions.h?rev=252045&r1=252044&r2=252045&view=diff
==============================================================================
--- cfe/trunk/include/clang/Frontend/FrontendOptions.h (original)
+++ cfe/trunk/include/clang/Frontend/FrontendOptions.h Wed Nov 4 08:34:43 2015
@@ -92,7 +92,7 @@ class FrontendInputFile {
bool IsSystem;
public:
- FrontendInputFile() : Buffer(nullptr), Kind(IK_None) { }
+ FrontendInputFile() : Buffer(nullptr), Kind(IK_None), IsSystem(false) { }
FrontendInputFile(StringRef File, InputKind Kind, bool IsSystem = false)
: File(File.str()), Buffer(nullptr), Kind(Kind), IsSystem(IsSystem) { }
FrontendInputFile(llvm::MemoryBuffer *buffer, InputKind Kind,
More information about the cfe-commits
mailing list