]> granicus.if.org Git - clang/commitdiff
Initialize member.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 5 Jul 2011 09:46:31 +0000 (09:46 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 5 Jul 2011 09:46:31 +0000 (09:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134403 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaLookup.cpp

index 951fbfac7ac335abf8d14174638312921f834ce7..0ecd81400b0bacea753a33f5788b1ed1ba9e0169 100644 (file)
@@ -3228,7 +3228,8 @@ class NamespaceSpecifierSet {
 
  public:
   explicit NamespaceSpecifierSet(ASTContext &Context, DeclContext *CurContext)
-      : Context(Context), CurContextChain(BuildContextChain(CurContext)) {}
+      : Context(Context), CurContextChain(BuildContextChain(CurContext)),
+        isSorted(true) {}
 
   /// \brief Add the namespace to the set, computing the corresponding
   /// NestedNameSpecifier and its distance in the process.