From c5bb9d4b661ce5b13ba1dec2bce7a25fb45f95a0 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 5 Jul 2011 09:46:31 +0000 Subject: [PATCH] Initialize member. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134403 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaLookup.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- 2.50.1