figure.h:8: public: should be indented +1 space inside class Figure [whitespace/indent] [3]
figure.h:16: private: should be indented +1 space inside class Triangle [whitespace/indent] [3]
figure.h:21: public: should be indented +1 space inside class Triangle [whitespace/indent] [3]
figure.h:25: Lines should be <= 80 characters long [whitespace/line_length] [2]
figure.h:40: private: should be indented +1 space inside class Rect [whitespace/indent] [3]
figure.h:45: public: should be indented +1 space inside class Rect [whitespace/indent] [3]
figure.h:63: private: should be indented +1 space inside class Circle [whitespace/indent] [3]
figure.h:68: public: should be indented +1 space inside class Circle [whitespace/indent] [3]
figure.h:94: An else should appear on the same line as the preceding } [whitespace/newline] [4]
figure.h:94: If an else has a brace on one side, it should have it on both [readability/braces] [5]
figure.h:98: An else should appear on the same line as the preceding } [whitespace/newline] [4]
figure.h:98: If an else has a brace on one side, it should have it on both [readability/braces] [5]
figure.h:86: Add #include <string> for string [build/include_what_you_use] [4]
figure.h:100: Add #include <memory> for shared_ptr<> [build/include_what_you_use] [4]
figure.h:103: Could not find a newline character at the end of the file. [whitespace/ending_newline] [5]
Done processing figure.h
Total errors found: 15
|