1#include "Rectangle.h"
2
3Rectangle::Rectangle(double width, double height)
4 : width_(width), height_(height) {}
5
6double Rectangle::area() const {
7 return width_ * height_;
8}
9
10double Rectangle::perimeter() const {
11 return 2 * (width_ + height_);
12}

source code of clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Rectangle.cpp