[cfe-commits] r155324 - /cfe/trunk/lib/Sema/Sema.cpp

Benjamin Kramer benny.kra at googlemail.com
Sun Apr 22 13:43:35 PDT 2012


Author: d0k
Date: Sun Apr 22 15:43:35 2012
New Revision: 155324

URL: http://llvm.org/viewvc/llvm-project?rev=155324&view=rev
Log:
Sema: Initialize NSString method cache members.

Found by valgrind.

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

Modified: cfe/trunk/lib/Sema/Sema.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/Sema.cpp?rev=155324&r1=155323&r2=155324&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/Sema.cpp (original)
+++ cfe/trunk/lib/Sema/Sema.cpp Sun Apr 22 15:43:35 2012
@@ -90,7 +90,9 @@
     PackContext(0), MSStructPragmaOn(false), VisContext(0),
     ExprNeedsCleanups(false), LateTemplateParser(0), OpaqueParser(0),
     IdResolver(pp), StdInitializerList(0), CXXTypeInfoDecl(0), MSVCGuidDecl(0),
-    NSNumberDecl(0), NSArrayDecl(0), ArrayWithObjectsMethod(0), 
+    NSNumberDecl(0),
+    NSStringDecl(0), StringWithUTF8StringMethod(0),
+    NSArrayDecl(0), ArrayWithObjectsMethod(0),
     NSDictionaryDecl(0), DictionaryWithObjectsMethod(0),
     GlobalNewDeleteDeclared(false), 
     ObjCShouldCallSuperDealloc(false),





More information about the cfe-commits mailing list