[llvm-commits] [llvm] r106513 - /llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp

Chris Lattner sabre at nondot.org
Mon Jun 21 17:40:26 PDT 2010


Author: lattner
Date: Mon Jun 21 19:40:26 2010
New Revision: 106513

URL: http://llvm.org/viewvc/llvm-project?rev=106513&view=rev
Log:
make sure to initialize indent_level

Modified:
    llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp

Modified: llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp?rev=106513&r1=106512&r2=106513&view=diff
==============================================================================
--- llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp (original)
+++ llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp Mon Jun 21 19:40:26 2010
@@ -104,7 +104,7 @@
   public:
     static char ID;
     explicit CppWriter(formatted_raw_ostream &o) :
-      ModulePass(&ID), Out(o), uniqueNum(0), is_inline(false) {}
+      ModulePass(&ID), Out(o), uniqueNum(0), is_inline(false), indent_level(0){}
 
     virtual const char *getPassName() const { return "C++ backend"; }
 





More information about the llvm-commits mailing list