os << "alloca{" << (void*) Ex << ',' << Cnt << '}';
}
-void TypedViewRegion::print(llvm::raw_ostream& os) const {
- os << "typed_view{" << LValueType.getAsString() << ',';
- getSuperRegion()->print(os);
- os << '}';
-}
-
-void VarRegion::print(llvm::raw_ostream& os) const {
- os << cast<VarDecl>(D)->getNameAsString();
+void CompoundLiteralRegion::print(llvm::raw_ostream& os) const {
+ // FIXME: More elaborate pretty-printing.
+ os << "{ " << (void*) CL << " }";
}
-void SymbolicRegion::print(llvm::raw_ostream& os) const {
- os << "SymRegion-" << sym;
+void ElementRegion::print(llvm::raw_ostream& os) const {
+ superRegion->print(os);
+ os << '['; Index.print(os); os << ']';
}
void FieldRegion::print(llvm::raw_ostream& os) const {
os << "->" << getDecl()->getNameAsString();
}
-void ElementRegion::print(llvm::raw_ostream& os) const {
- superRegion->print(os);
- os << '['; Index.print(os); os << ']';
+void StringRegion::print(llvm::raw_ostream& os) const {
+ Str->printPretty(os);
}
-void CompoundLiteralRegion::print(llvm::raw_ostream& os) const {
- // FIXME: More elaborate pretty-printing.
- os << "{ " << (void*) CL << " }";
+void SymbolicRegion::print(llvm::raw_ostream& os) const {
+ os << "SymRegion-" << sym;
}
-void StringRegion::print(llvm::raw_ostream& os) const {
- Str->printPretty(os);
+void TypedViewRegion::print(llvm::raw_ostream& os) const {
+ os << "typed_view{" << LValueType.getAsString() << ',';
+ getSuperRegion()->print(os);
+ os << '}';
+}
+
+void VarRegion::print(llvm::raw_ostream& os) const {
+ os << cast<VarDecl>(D)->getNameAsString();
}
//===----------------------------------------------------------------------===//