prime_gen.h:7: public: should be indented +1 space inside class PrimeNumberGenerator [whitespace/indent] [3]
prime_gen.h:13: You don't need a ; after a } [readability/braces] [4]
prime_gen.h:8: Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
prime_gen.h:13: Tab found; better to use spaces [whitespace/tab] [1]
prime_gen.h:29: You don't need a ; after a } [readability/braces] [4]
prime_gen.h:16: Use operator || instead of or [readability/alt_tokens] [2]
prime_gen.h:19: An else should appear on the same line as the preceding } [whitespace/newline] [4]
prime_gen.h:19: If an else has a brace on one side, it should have it on both [readability/braces] [5]
prime_gen.h:19: Use operator || instead of or [readability/alt_tokens] [2]
prime_gen.h:19: Use operator || instead of or [readability/alt_tokens] [2]
prime_gen.h:31: Tab found; better to use spaces [whitespace/tab] [1]
prime_gen.h:42: You don't need a ; after a } [readability/braces] [4]
prime_gen.h:40: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
prime_gen.h:42: Tab found; better to use spaces [whitespace/tab] [1]
prime_gen.h:44: Tab found; better to use spaces [whitespace/tab] [1]
Done processing prime_gen.h
Total errors found: 15
|