[cfe-commits] r134403 - /cfe/trunk/lib/Sema/SemaLookup.cpp

Benjamin Kramer benny.kra at googlemail.com
Tue Jul 5 02:46:31 PDT 2011


Author: d0k
Date: Tue Jul  5 04:46:31 2011
New Revision: 134403

URL: http://llvm.org/viewvc/llvm-project?rev=134403&view=rev
Log:
Initialize member.

Modified:
    cfe/trunk/lib/Sema/SemaLookup.cpp

Modified: cfe/trunk/lib/Sema/SemaLookup.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaLookup.cpp?rev=134403&r1=134402&r2=134403&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaLookup.cpp (original)
+++ cfe/trunk/lib/Sema/SemaLookup.cpp Tue Jul  5 04:46:31 2011
@@ -3228,7 +3228,8 @@
 
  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.





More information about the cfe-commits mailing list