diagtool: refactor TreeView to resemble C++
authorAlp Toker <alp@nuanti.com>
Fri, 20 Jun 2014 00:06:42 +0000 (00:06 +0000)
committerAlp Toker <alp@nuanti.com>
Fri, 20 Jun 2014 00:06:42 +0000 (00:06 +0000)
commitb2636c4ae16c5aa1f4f1259ccbf4eaf2c532b551
tree8e7b574cbc7a2fb92ee036e3bf5a0f461ec7fea0
parent14a96ac3434309c965917f57d8465b7c4a160360
diagtool: refactor TreeView to resemble C++

Replace lots of old-school parameter passing with neat class members.
No attempt made yet to modernize loops, but it's a start.

llvm-svn: 211327
clang/tools/diagtool/TreeView.cpp