| commit | 631abd9365e34499838a6b37e737d21d3d6c0d13 | [log] [tgz] |
|---|---|---|
| author | Chandler Carruth <chandlerc@gmail.com> | Thu Jun 16 06:47:06 2011 +0000 |
| committer | Chandler Carruth <chandlerc@gmail.com> | Thu Jun 16 06:47:06 2011 +0000 |
| tree | b2f401d67ef73c0a57f4b51794f0860c52096a3e | |
| parent | 0585a61821403e79fada1148bcdd33c5b2df2432 [diff] |
Make the Stmt::Profile method const, and the StmtProfile visitor a ConstStmtVisitor. This also required adding some const iteration support for designated initializers and making some of the getters on the designators const. It also made the formatting of StmtProfile.cpp rather awkward. I'm happy to adjust any of the formatting if folks have suggestions. I've at least fitted it all within 80 columns. llvm-svn: 133152