summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/InheritViz.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-09-09 15:08:12 +0000
committerMike Stump <mrs@apple.com>2009-09-09 15:08:12 +0000
commit11289f42807681deee5551c40fe1a4282d54c86a (patch)
tree97ed01bf613ec21a6dc3d53097c925fc6353c9f9 /clang/lib/AST/InheritViz.cpp
parent16ad903fcf596916257acef39618545de331db8f (diff)
downloadbcm5719-llvm-11289f42807681deee5551c40fe1a4282d54c86a.tar.gz
bcm5719-llvm-11289f42807681deee5551c40fe1a4282d54c86a.zip
Remove tabs, and whitespace cleanups.
llvm-svn: 81346
Diffstat (limited to 'clang/lib/AST/InheritViz.cpp')
-rw-r--r--clang/lib/AST/InheritViz.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/AST/InheritViz.cpp b/clang/lib/AST/InheritViz.cpp
index 323048c88b1..c47a9dadbad 100644
--- a/clang/lib/AST/InheritViz.cpp
+++ b/clang/lib/AST/InheritViz.cpp
@@ -89,7 +89,7 @@ void InheritanceHierarchyWriter::WriteNode(QualType Type, bool FromVirtual) {
Out << " \"];\n";
// Display the base classes.
- const CXXRecordDecl *Decl
+ const CXXRecordDecl *Decl
= static_cast<const CXXRecordDecl *>(Type->getAs<RecordType>()->getDecl());
for (CXXRecordDecl::base_class_const_iterator Base = Decl->bases_begin();
Base != Decl->bases_end(); ++Base) {
@@ -120,8 +120,8 @@ void InheritanceHierarchyWriter::WriteNode(QualType Type, bool FromVirtual) {
/// WriteNodeReference - Write out a reference to the given node,
/// using a unique identifier for each direct base and for the
/// (only) virtual base.
-llvm::raw_ostream&
-InheritanceHierarchyWriter::WriteNodeReference(QualType Type,
+llvm::raw_ostream&
+InheritanceHierarchyWriter::WriteNodeReference(QualType Type,
bool FromVirtual) {
QualType CanonType = Context.getCanonicalType(Type);
OpenPOWER on IntegriCloud