From: Benjamin Kramer Date: Tue, 5 Jul 2011 09:46:31 +0000 (+0000) Subject: Initialize member. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5bb9d4b661ce5b13ba1dec2bce7a25fb45f95a0;p=clang Initialize member. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134403 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaLookup.cpp b/lib/Sema/SemaLookup.cpp index 951fbfac7a..0ecd81400b 100644 --- a/lib/Sema/SemaLookup.cpp +++ b/lib/Sema/SemaLookup.cpp @@ -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.