xaizek / uncov (License: AGPLv3+) (since 2018-12-07)
Uncov(er) is a tool that collects and processes code coverage reports.
Commit 7b8cd9d73b457e17466daa9a0a2ad538e5a5f0ab

Don't use double underscores in header guards
C++ standard reserves them for the implementation.
Author: xaizek
Author date (UTC): 2023-01-05 19:09
Committer name: xaizek
Committer date (UTC): 2023-01-05 19:09
Parent(s): 50c0d85cbc071b41349df126d5bad49c749ba632
Signing key: 99DC5E4DB05F6BE2
Tree: 8a26ba8077ce9368416c8960120bb67d169829bd
File Lines added Lines deleted
src/AutoSubCommand.hpp 3 3
src/BuildHistory.hpp 3 3
src/ColorCane.hpp 3 3
src/DB.hpp 3 3
src/FileComparator.hpp 3 3
src/FilePrinter.hpp 3 3
src/GcovImporter.hpp 3 3
src/Invocation.hpp 3 3
src/Repository.hpp 3 3
src/Settings.hpp 3 3
src/SubCommand.hpp 3 3
src/TablePrinter.hpp 3 3
src/Uncov.hpp 3 3
src/app.hpp 3 3
src/arg_parsing.hpp 3 3
src/colors.hpp 3 3
src/coverage.hpp 3 3
src/decoration.hpp 3 3
src/integration.hpp 3 3
src/listings.hpp 3 3
src/printing.hpp 3 3
src/utils/Flag.hpp 3 3
src/utils/Text.hpp 3 3
src/utils/fs.hpp 3 3
src/utils/integer_seq.hpp 3 3
src/utils/md5.hpp 3 3
src/utils/memory.hpp 3 3
src/utils/strings.hpp 3 3
src/utils/time.hpp 3 3
tests/TestUtils.hpp 3 3
web/WebSettings.hpp 3 3
File src/AutoSubCommand.hpp changed (mode: 100644) (index c4a0b34..4502805)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__AUTOSUBCOMMAND_HPP__
18 #define UNCOV__AUTOSUBCOMMAND_HPP__
17 #ifndef UNCOV_AUTOSUBCOMMAND_HPP_
18 #define UNCOV_AUTOSUBCOMMAND_HPP_
19 19
20 20 #include <functional> #include <functional>
21 21 #include <iostream> #include <iostream>
 
... ... AutoSubCommand<C>::printHelp(std::ostream &os, const std::string &alias) const
241 241 detail::printHelpMsg(os, alias, typename C::callForms{}); detail::printHelpMsg(os, alias, typename C::callForms{});
242 242 } }
243 243
244 #endif // UNCOV__AUTOSUBCOMMAND_HPP__
244 #endif // UNCOV_AUTOSUBCOMMAND_HPP_
File src/BuildHistory.hpp changed (mode: 100644) (index 612148c..e52c964)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__BUILDHISTORY_HPP__
18 #define UNCOV__BUILDHISTORY_HPP__
17 #ifndef UNCOV_BUILDHISTORY_HPP_
18 #define UNCOV_BUILDHISTORY_HPP_
19 19
20 20 #include <boost/optional/optional_fwd.hpp> #include <boost/optional/optional_fwd.hpp>
21 21
 
... ... private:
332 332 mutable std::unordered_map<std::string, File> files; //!< Cached files. mutable std::unordered_map<std::string, File> files; //!< Cached files.
333 333 }; };
334 334
335 #endif // UNCOV__BUILDHISTORY_HPP__
335 #endif // UNCOV_BUILDHISTORY_HPP_
File src/ColorCane.hpp changed (mode: 100644) (index 9100cdf..369429e)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__COLORCANE_HPP__
18 #define UNCOV__COLORCANE_HPP__
17 #ifndef UNCOV_COLORCANE_HPP_
18 #define UNCOV_COLORCANE_HPP_
19 19
20 20 #include <boost/utility/string_ref.hpp> #include <boost/utility/string_ref.hpp>
21 21
 
... ... private:
88 88 Pieces pieces; //!< Collection of pieces. Pieces pieces; //!< Collection of pieces.
89 89 }; };
90 90
91 #endif // UNCOV__COLORCANE_HPP__
91 #endif // UNCOV_COLORCANE_HPP_
File src/DB.hpp changed (mode: 100644) (index 22c726b..d0a6053)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__DB_HPP__
18 #define UNCOV__DB_HPP__
17 #ifndef UNCOV_DB_HPP_
18 #define UNCOV_DB_HPP_
19 19
20 20 /** /**
21 21 * @file DB.hpp * @file DB.hpp
 
... ... operator ""_b(const char name[], std::size_t len)
536 536 return BlankBinding(std::string(name, len)); return BlankBinding(std::string(name, len));
537 537 } }
538 538
539 #endif // UNCOV__DB_HPP__
539 #endif // UNCOV_DB_HPP_
File src/FileComparator.hpp changed (mode: 100644) (index c20130c..68b8a5d)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__FILECOMPARATOR_HPP__
18 #define UNCOV__FILECOMPARATOR_HPP__
17 #ifndef UNCOV_FILECOMPARATOR_HPP_
18 #define UNCOV_FILECOMPARATOR_HPP_
19 19
20 20 #include <deque> #include <deque>
21 21 #include <string> #include <string>
 
... ... private:
172 172 std::deque<DiffLine> diffSeq; //!< Generated diff output. std::deque<DiffLine> diffSeq; //!< Generated diff output.
173 173 }; };
174 174
175 #endif // UNCOV__FILECOMPARATOR_HPP__
175 #endif // UNCOV_FILECOMPARATOR_HPP_
File src/FilePrinter.hpp changed (mode: 100644) (index 0944d37..62fae3f)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__FILEPRINTER_HPP__
18 #define UNCOV__FILEPRINTER_HPP__
17 #ifndef UNCOV_FILEPRINTER_HPP_
18 #define UNCOV_FILEPRINTER_HPP_
19 19
20 20 #include <srchilite/sourcehighlight.h> #include <srchilite/sourcehighlight.h>
21 21 #include <srchilite/langmap.h> #include <srchilite/langmap.h>
 
... ... private:
201 201 srchilite::LangMap langMap; srchilite::LangMap langMap;
202 202 }; };
203 203
204 #endif // UNCOV__FILEPRINTER_HPP__
204 #endif // UNCOV_FILEPRINTER_HPP_
File src/GcovImporter.hpp changed (mode: 100644) (index 0575e7e..cc3189a)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__GCOVIMPORTER_HPP__
18 #define UNCOV__GCOVIMPORTER_HPP__
17 #ifndef UNCOV_GCOVIMPORTER_HPP_
18 #define UNCOV_GCOVIMPORTER_HPP_
19 19
20 20 #include <boost/filesystem/path.hpp> #include <boost/filesystem/path.hpp>
21 21
 
... ... private:
224 224 std::string prefix; std::string prefix;
225 225 }; };
226 226
227 #endif // UNCOV__GCOVIMPORTER_HPP__
227 #endif // UNCOV_GCOVIMPORTER_HPP_
File src/Invocation.hpp changed (mode: 100644) (index 8a91af8..802f649)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__INVOCATION_HPP__
18 #define UNCOV__INVOCATION_HPP__
17 #ifndef UNCOV_INVOCATION_HPP_
18 #define UNCOV_INVOCATION_HPP_
19 19
20 20 #include <string> #include <string>
21 21 #include <vector> #include <vector>
 
... ... private:
108 108 bool printVersion = false; bool printVersion = false;
109 109 }; };
110 110
111 #endif // UNCOV__INVOCATION_HPP__
111 #endif // UNCOV_INVOCATION_HPP_
File src/Repository.hpp changed (mode: 100644) (index 6c4f432..e4f0e90)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__REPOSITORY_HPP__
18 #define UNCOV__REPOSITORY_HPP__
17 #ifndef UNCOV_REPOSITORY_HPP_
18 #define UNCOV_REPOSITORY_HPP_
19 19
20 20 #include <string> #include <string>
21 21 #include <unordered_map> #include <unordered_map>
 
... ... public:
172 172 git_repository *repo; git_repository *repo;
173 173 }; };
174 174
175 #endif // UNCOV__REPOSITORY_HPP__
175 #endif // UNCOV_REPOSITORY_HPP_
File src/Settings.hpp changed (mode: 100644) (index 960fe44..4c560fa)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__SETTINGS_HPP__
18 #define UNCOV__SETTINGS_HPP__
17 #ifndef UNCOV_SETTINGS_HPP_
18 #define UNCOV_SETTINGS_HPP_
19 19
20 20 #include <string> #include <string>
21 21
 
... ... private:
119 119 int foldContext = 1; int foldContext = 1;
120 120 }; };
121 121
122 #endif // UNCOV__SETTINGS_HPP__
122 #endif // UNCOV_SETTINGS_HPP_
File src/SubCommand.hpp changed (mode: 100644) (index 31ac269..b31ae81)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__SUBCOMMAND_HPP__
18 #define UNCOV__SUBCOMMAND_HPP__
17 #ifndef UNCOV_SUBCOMMAND_HPP_
18 #define UNCOV_SUBCOMMAND_HPP_
19 19
20 20 #include <cstddef> #include <cstddef>
21 21
 
... ... private:
260 260 Uncov *uncovValue = nullptr; //!< Application. Uncov *uncovValue = nullptr; //!< Application.
261 261 }; };
262 262
263 #endif // UNCOV__SUBCOMMAND_HPP__
263 #endif // UNCOV_SUBCOMMAND_HPP_
File src/TablePrinter.hpp changed (mode: 100644) (index 7b83a81..9c721d5)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__ITEMTABLE_HPP__
18 #define UNCOV__ITEMTABLE_HPP__
17 #ifndef UNCOV_TABLEPRINTER_HPP_
18 #define UNCOV_TABLEPRINTER_HPP_
19 19
20 20 #include <iosfwd> #include <iosfwd>
21 21 #include <string> #include <string>
 
... ... private:
113 113 std::vector<std::vector<std::string>> items; std::vector<std::vector<std::string>> items;
114 114 }; };
115 115
116 #endif // UNCOV__ITEMTABLE_HPP__
116 #endif // UNCOV_TABLEPRINTER_HPP_
File src/Uncov.hpp changed (mode: 100644) (index 5d6c62e..5e25876)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__UNCOV_HPP__
18 #define UNCOV__UNCOV_HPP__
17 #ifndef UNCOV_UNCOV_HPP_
18 #define UNCOV_UNCOV_HPP_
19 19
20 20 #include <map> #include <map>
21 21 #include <string> #include <string>
 
... ... private:
72 72 std::map<std::string, SubCommand *> cmds; std::map<std::string, SubCommand *> cmds;
73 73 }; };
74 74
75 #endif // UNCOV__UNCOV_HPP__
75 #endif // UNCOV_UNCOV_HPP_
File src/app.hpp changed (mode: 100644) (index 8f064a9..2f511c0)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__APP_H__
18 #define UNCOV__APP_H__
17 #ifndef UNCOV_APP_HPP_
18 #define UNCOV_APP_HPP_
19 19
20 20 #include <string> #include <string>
21 21
 
... ... std::string getDatabaseFile();
57 57 */ */
58 58 std::string pickDataPath(const Repository &repo); std::string pickDataPath(const Repository &repo);
59 59
60 #endif // UNCOV__APP_H__
60 #endif // UNCOV_APP_HPP_
File src/arg_parsing.hpp changed (mode: 100644) (index 1ee9f99..28be835)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__ARG_PARSING_HPP__
18 #define UNCOV__ARG_PARSING_HPP__
17 #ifndef UNCOV_ARG_PARSING_HPP_
18 #define UNCOV_ARG_PARSING_HPP_
19 19
20 20 #include <boost/optional.hpp> #include <boost/optional.hpp>
21 21 #include <boost/variant/variant_fwd.hpp> #include <boost/variant/variant_fwd.hpp>
 
... ... tryParse(const std::vector<std::string> &args, Lst<Types...> /*form*/)
317 317 return detail::tryParse<Types...>(args, 0U); return detail::tryParse<Types...>(args, 0U);
318 318 } }
319 319
320 #endif // UNCOV__ARG_PARSING_HPP__
320 #endif // UNCOV_ARG_PARSING_HPP_
File src/colors.hpp changed (mode: 100644) (index f557bef..0a83c4f)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__COLORS_HPP__
18 #define UNCOV__COLORS_HPP__
17 #ifndef UNCOV_COLORS_HPP_
18 #define UNCOV_COLORS_HPP_
19 19
20 20 //! Possible highlighting groups. //! Possible highlighting groups.
21 21 enum class ColorGroup enum class ColorGroup
 
... ... enum class ColorGroup
39 39 ErrorMsg, //!< Error message in output. ErrorMsg, //!< Error message in output.
40 40 }; };
41 41
42 #endif // UNCOV__COLORS_HPP__
42 #endif // UNCOV_COLORS_HPP_
File src/coverage.hpp changed (mode: 100644) (index 04b96f1..3ce8529)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__COVERAGE_HPP__
18 #define UNCOV__COVERAGE_HPP__
17 #ifndef UNCOV_COVERAGE_HPP_
18 #define UNCOV_COVERAGE_HPP_
19 19
20 20 #include <string> #include <string>
21 21
 
... ... private:
144 144 int relevantChange; //!< Change of relevant lines in lines. int relevantChange; //!< Change of relevant lines in lines.
145 145 }; };
146 146
147 #endif // UNCOV__COVERAGE_HPP__
147 #endif // UNCOV_COVERAGE_HPP_
File src/decoration.hpp changed (mode: 100644) (index a05d68f..e45c404)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__DECORATION_HPP__
18 #define UNCOV__DECORATION_HPP__
17 #ifndef UNCOV_DECORATION_HPP_
18 #define UNCOV_DECORATION_HPP_
19 19
20 20 #include <memory> #include <memory>
21 21 #include <iosfwd> #include <iosfwd>
 
... ... void disableDecorations();
185 185
186 186 } }
187 187
188 #endif // UNCOV__DECORATION_HPP__
188 #endif // UNCOV_DECORATION_HPP_
File src/integration.hpp changed (mode: 100644) (index c7814a6..5210598)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__INTEGRATION_HPP__
18 #define UNCOV__INTEGRATION_HPP__
17 #ifndef UNCOV_INTEGRATION_HPP_
18 #define UNCOV_INTEGRATION_HPP_
19 19
20 20 #include <memory> #include <memory>
21 21 #include <string> #include <string>
 
... ... bool isOutputToTerminal();
110 110 */ */
111 111 std::pair<unsigned int, unsigned int> getTerminalSize(); std::pair<unsigned int, unsigned int> getTerminalSize();
112 112
113 #endif // UNCOV__INTEGRATION_HPP__
113 #endif // UNCOV_INTEGRATION_HPP_
File src/listings.hpp changed (mode: 100644) (index f0c5ed0..e41b1e4)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__LISTINGS_HPP__
18 #define UNCOV__LISTINGS_HPP__
17 #ifndef UNCOV_LISTINGS_HPP_
18 #define UNCOV_LISTINGS_HPP_
19 19
20 20 #include <iosfwd> #include <iosfwd>
21 21 #include <string> #include <string>
 
... ... void printFileHeader(std::ostream &os, BuildHistory *bh, const Build &build,
176 176 const std::string &filePath, const std::string &filePath,
177 177 const Build *prevBuild = nullptr); const Build *prevBuild = nullptr);
178 178
179 #endif // UNCOV__LISTINGS_HPP__
179 #endif // UNCOV_LISTINGS_HPP_
File src/printing.hpp changed (mode: 100644) (index fcab35a..308ac10)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__PRINTING_HPP__
18 #define UNCOV__PRINTING_HPP__
17 #ifndef UNCOV_PRINTING_HPP_
18 #define UNCOV_PRINTING_HPP_
19 19
20 20 #include <cstddef> #include <cstddef>
21 21 #include <ctime> #include <ctime>
 
... ... std::ostream & operator<<(std::ostream &os, const ColorCane &cc);
233 233 */ */
234 234 std::ostream & operator<<(std::ostream &os, const ColorCanePiece &piece); std::ostream & operator<<(std::ostream &os, const ColorCanePiece &piece);
235 235
236 #endif // UNCOV__PRINTING_HPP__
236 #endif // UNCOV_PRINTING_HPP_
File src/utils/Flag.hpp changed (mode: 100644) (index a98ea9a..6d8a28d)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__UTILS__FLAG_HPP__
18 #define UNCOV__UTILS__FLAG_HPP__
17 #ifndef UNCOV_UTILS_FLAG_HPP_
18 #define UNCOV_UTILS_FLAG_HPP_
19 19
20 20 /** /**
21 21 * @file Flag.hpp * @file Flag.hpp
 
... ... private:
78 78 const bool value; const bool value;
79 79 }; };
80 80
81 #endif // UNCOV__UTILS__FLAG_HPP__
81 #endif // UNCOV_UTILS_FLAG_HPP_
File src/utils/Text.hpp changed (mode: 100644) (index e7360ce..0cde4e4)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__UTILS__TEXT_HPP__
18 #define UNCOV__UTILS__TEXT_HPP__
17 #ifndef UNCOV_UTILS_TEXT_HPP_
18 #define UNCOV_UTILS_TEXT_HPP_
19 19
20 20 #include <cstddef> #include <cstddef>
21 21
 
... ... private:
91 91 std::vector<std::string> lines; std::vector<std::string> lines;
92 92 }; };
93 93
94 #endif // UNCOV__UTILS__TEXT_HPP__
94 #endif // UNCOV_UTILS_TEXT_HPP_
File src/utils/fs.hpp changed (mode: 100644) (index 90d461b..4da2671)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__UTILS__FS_HPP__
18 #define UNCOV__UTILS__FS_HPP__
17 #ifndef UNCOV_UTILS_FS_HPP_
18 #define UNCOV_UTILS_FS_HPP_
19 19
20 20 #include <boost/filesystem/operations.hpp> #include <boost/filesystem/operations.hpp>
21 21 #include <boost/filesystem/path.hpp> #include <boost/filesystem/path.hpp>
 
... ... boost::filesystem::path makeRelativePath(boost::filesystem::path base,
124 124 */ */
125 125 std::string readFile(const std::string &path); std::string readFile(const std::string &path);
126 126
127 #endif // UNCOV__UTILS__FS_HPP__
127 #endif // UNCOV_UTILS_FS_HPP_
File src/utils/integer_seq.hpp changed (mode: 100644) (index 0552051..811ba7b)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__UTILS__INTEGER_SEQ_HPP__
18 #define UNCOV__UTILS__INTEGER_SEQ_HPP__
17 #ifndef UNCOV_UTILS_INTEGER_SEQ_HPP_
18 #define UNCOV_UTILS_INTEGER_SEQ_HPP_
19 19
20 20 #include <cstddef> #include <cstddef>
21 21
 
... ... struct Idx<T, Ts...>
94 94 template <typename... Ts> template <typename... Ts>
95 95 using index_sequence_for = typename Idx<Ts...>::type; using index_sequence_for = typename Idx<Ts...>::type;
96 96
97 #endif // UNCOV__UTILS__INTEGER_SEQ_HPP__
97 #endif // UNCOV_UTILS_INTEGER_SEQ_HPP_
File src/utils/md5.hpp changed (mode: 100644) (index e31f086..d7e1cb3)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__UTILS__MD5_HPP__
18 #define UNCOV__UTILS__MD5_HPP__
17 #ifndef UNCOV_UTILS_MD5_HPP_
18 #define UNCOV_UTILS_MD5_HPP_
19 19
20 20 #include <string> #include <string>
21 21
 
34 34 */ */
35 35 std::string md5(const std::string &str); std::string md5(const std::string &str);
36 36
37 #endif // UNCOV__UTILS__MD5_HPP__
37 #endif // UNCOV_UTILS_MD5_HPP_
File src/utils/memory.hpp changed (mode: 100644) (index 4ac85b7..a5e7fc1)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__UTILS__MEMORY_HPP__
18 #define UNCOV__UTILS__MEMORY_HPP__
17 #ifndef UNCOV_UTILS_MEMORY_HPP_
18 #define UNCOV_UTILS_MEMORY_HPP_
19 19
20 20 #include <memory> #include <memory>
21 21 #include <utility> #include <utility>
 
... ... make_unique(Args&&... args)
42 42 return std::unique_ptr<T>(new T(std::forward<Args>(args)...)); return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
43 43 } }
44 44
45 #endif // UNCOV__UTILS__MEMORY_HPP__
45 #endif // UNCOV_UTILS_MEMORY_HPP_
File src/utils/strings.hpp changed (mode: 100644) (index b276ee8..2832d7e)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__UTILS__STRINGS_HPP__
18 #define UNCOV__UTILS__STRINGS_HPP__
17 #ifndef UNCOV_UTILS_STRINGS_HPP_
18 #define UNCOV_UTILS_STRINGS_HPP_
19 19
20 20 #include <stdexcept> #include <stdexcept>
21 21 #include <string> #include <string>
 
... ... split(const std::string &str, char with)
66 66 return results; return results;
67 67 } }
68 68
69 #endif // UNCOV__UTILS__STRINGS_HPP__
69 #endif // UNCOV_UTILS_STRINGS_HPP_
File src/utils/time.hpp changed (mode: 100644) (index bff29af..a38528e)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__UTILS__TIME_HPP__
18 #define UNCOV__UTILS__TIME_HPP__
17 #ifndef UNCOV_UTILS_TIME_HPP_
18 #define UNCOV_UTILS_TIME_HPP_
19 19
20 20 #include <ctime> #include <ctime>
21 21
 
... ... operator<<(std::ostream &os, const put_time &pt)
47 47 return os << buf; return os << buf;
48 48 } }
49 49
50 #endif // UNCOV__UTILS__TIME_HPP__
50 #endif // UNCOV_UTILS_TIME_HPP_
File tests/TestUtils.hpp changed (mode: 100644) (index 30d815b..c899b37)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__TESTS__TESTUTILS_HPP__
18 #define UNCOV__TESTS__TESTUTILS_HPP__
17 #ifndef UNCOV_TESTS_TESTUTILS_HPP_
18 #define UNCOV_TESTS_TESTUTILS_HPP_
19 19
20 20 #include <iosfwd> #include <iosfwd>
21 21 #include <sstream> #include <sstream>
 
... ... void makeGz(const std::string &path, const std::string &contents);
169 169 */ */
170 170 void removeChars(std::string &str, char c); void removeChars(std::string &str, char c);
171 171
172 #endif // UNCOV__TESTS__TESTUTILS_HPP__
172 #endif // UNCOV_TESTS_TESTUTILS_HPP_
File web/WebSettings.hpp changed (mode: 100644) (index c02bad9..a9f6985)
14 14 // You should have received a copy of the GNU Affero General Public License // You should have received a copy of the GNU Affero General Public License
15 15 // along with uncov. If not, see <http://www.gnu.org/licenses/>. // along with uncov. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #ifndef UNCOV__WEB__WEBSETTINGS_HPP__
18 #define UNCOV__WEB__WEBSETTINGS_HPP__
17 #ifndef UNCOV_WEB_WEBSETTINGS_HPP_
18 #define UNCOV_WEB_WEBSETTINGS_HPP_
19 19
20 20 #include "Settings.hpp" #include "Settings.hpp"
21 21
 
... ... public: // PrintingSettings and FilePrinterSettings
41 41 } }
42 42 }; };
43 43
44 #endif // UNCOV__WEB__WEBSETTINGS_HPP__
44 #endif // UNCOV_WEB_WEBSETTINGS_HPP_
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/uncov

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/uncov

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master