OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aa7bc7
)
make sure to initialize indent_level
author
Chris Lattner
<sabre@nondot.org>
Tue, 22 Jun 2010 00:40:26 +0000
(
00:40
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 22 Jun 2010 00:40:26 +0000
(
00:40
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106513
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/CppBackend/CPPBackend.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/CppBackend/CPPBackend.cpp
b/lib/Target/CppBackend/CPPBackend.cpp
index
da63b1e
..
27fa319
100644
(file)
--- a/
lib/Target/CppBackend/CPPBackend.cpp
+++ b/
lib/Target/CppBackend/CPPBackend.cpp
@@
-104,7
+104,7
@@
namespace {
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"; }