aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaLookup.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-07-05 09:46:31 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-07-05 09:46:31 +0000
commitc5bb9d4b661ce5b13ba1dec2bce7a25fb45f95a0 (patch)
treeaf4d61073bfaf93f0a9abf8dc5e732faf89ddc72 /lib/Sema/SemaLookup.cpp
parent1a83b43d34cfc2eb2a1cc9bf9599cf67e265aeec (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.cpp3
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.