diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-07-05 09:46:31 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-07-05 09:46:31 +0000 |
commit | c5bb9d4b661ce5b13ba1dec2bce7a25fb45f95a0 (patch) | |
tree | af4d61073bfaf93f0a9abf8dc5e732faf89ddc72 /lib/Sema/SemaLookup.cpp | |
parent | 1a83b43d34cfc2eb2a1cc9bf9599cf67e265aeec (diff) |
Initialize member.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134403 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaLookup.cpp')
-rw-r--r-- | lib/Sema/SemaLookup.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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. |