]> granicus.if.org Git - clang/commitdiff
Initialize member field.
authorErik Verbruggen <erikjv@me.com>
Wed, 4 Nov 2015 14:34:43 +0000 (14:34 +0000)
committerErik Verbruggen <erikjv@me.com>
Wed, 4 Nov 2015 14:34:43 +0000 (14:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@252045 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Frontend/FrontendOptions.h

index 8c841e09424525cd9347cb7796214b7a274d16dc..186e8cf3e720249c1dd411d02b1af3c6519c9ac2 100644 (file)
@@ -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,