]> granicus.if.org Git - clang/commitdiff
Add default initializer for Sysroot ivar.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 9 Nov 2009 22:46:04 +0000 (22:46 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 9 Nov 2009 22:46:04 +0000 (22:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86610 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Frontend/HeaderSearchOptions.h

index dc222c11cc71f5516086d018fe5dd035c646aab8..c0bd1a98aca595a9811f4d91325a5d6950c5450d 100644 (file)
@@ -66,7 +66,7 @@ public:
   unsigned Verbose : 1;
 
 public:
-  HeaderSearchOptions(llvm::StringRef _Sysroot)
+  HeaderSearchOptions(llvm::StringRef _Sysroot = "")
     : Sysroot(_Sysroot), UseStandardIncludes(true) {}
 
   /// AddPath - Add the \arg Path path to the specified \arg Group list.