Evan Hunt
|
e851ed0bb5
|
apply the modified style
|
2020-02-13 15:05:06 -08:00 |
|
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 |
|
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 |
|
Mark Andrews
|
0c27b3fe77
|
4401. [misc] Change LICENSE to MPL 2.0.
|
2016-06-27 14:56:38 +10:00 |
|
Tinderbox User
|
503ffdad3b
|
update copyright notice / whitespace
|
2015-08-17 23:45:35 +00:00 |
|
Mukund Sivaraman
|
b0ba1a6059
|
Use mnemonics for RR class and type comparisons (#40297)
|
2015-08-17 12:23:35 +05:30 |
|
Tinderbox User
|
431a83fb29
|
update copyright notice
|
2014-01-09 23:46:35 +00:00 |
|
Evan Hunt
|
e851ea8260
|
[master] replace memcpy() with memmove().
3698. [cleanup] Replaced all uses of memcpy() with memmove().
[RT #35120]
|
2014-01-08 16:39:05 -08:00 |
|
Tinderbox User
|
ea3dd509f6
|
update copyright notice
|
2013-04-04 23:46:06 +00:00 |
|
Mark Andrews
|
3a6d62c59f
|
3546. [func] Add EUI48 and EUI64 types. [RT #33082]
|
2013-04-05 09:07:28 +11:00 |
|