Ondřej Surý
|
056e133c4c
|
Use clang-tidy to add curly braces around one-line statements
The command used to reformat the files in this commit was:
./util/run-clang-tidy \
-clang-tidy-binary clang-tidy-11
-clang-apply-replacements-binary clang-apply-replacements-11 \
-checks=-*,readability-braces-around-statements \
-j 9 \
-fix \
-format \
-style=file \
-quiet
clang-format -i --style=format $(git ls-files '*.c' '*.h')
uncrustify -c .uncrustify.cfg --replace --no-backup $(git ls-files '*.c' '*.h')
clang-format -i --style=format $(git ls-files '*.c' '*.h')
|
2020-02-13 22:07:21 +01:00 |
|
Ondřej Surý
|
f50b1e0685
|
Use clang-format to reformat the source files
|
2020-02-12 15:04:17 +01:00 |
|
Ondřej Surý
|
66af8713d8
|
lib/dns/rdata/*/*.c: Silence false positive nullPointerRedundantCheck warning from Cppcheck
Cppcheck gets confused by:
void bar(void *arg) {
foo *data = arg;
REQUIRE(source != NULL);
REQUIRE(data->member != NULL);
}
and for consistency the DbC check needs to be changed to
void bar(void *arg) {
foo *data = arg;
REQUIRE(data != NULL);
REQUIRE(data->member != NULL);
}
|
2019-10-03 09:04:26 +02:00 |
|
Ondřej Surý
|
994e656977
|
Replace custom isc_boolean_t with C standard bool type
|
2018-08-08 09:37:30 +02:00 |
|
Mukund Sivaraman
|
d4ea1edd2c
|
Don't insert 2nd space between NSEC3 nexthash and typemap fields
|
2018-06-04 12:21:48 +10:00 |
|
Ondřej Surý
|
843d389661
|
Update license headers to not include years in copyright in all applicable files
|
2018-02-23 10:12:02 +01:00 |
|
Tinderbox User
|
ca0ae70046
|
update copyright notice / whitespace
|
2017-10-03 23:45:48 +00:00 |
|
Mark Andrews
|
a009d03a1a
|
4748. [cleanup] Sprintf to snprintf coversions. [RT #46132]
|
2017-10-03 14:54:19 +11:00 |
|
Mark Andrews
|
0c27b3fe77
|
4401. [misc] Change LICENSE to MPL 2.0.
|
2016-06-27 14:56:38 +10:00 |
|
Mark Andrews
|
f6e45a5c54
|
4217. [protocol] Add support for CSYNC. [RT #40532]
|
2015-09-18 23:45:12 +10:00 |
|