Files
mbedtls/library
Mateusz Starzyk 16fec33e59 Move trailing macro comments to previous line.
Clang-format was severy confused with following construct:
\\#define MBEDTLS_macro_name     /**< description */

Used script:
```
import re
import sys

for arg in sys.argv[1:]:
    print(arg)
with open(arg, 'r') as file:
    content = file.read()
    content = re.sub(r"((//)?#define MBEDTLS_\w+ *(?<= )-?\w+) *(/\*\*<(.*))", r"/**\4\n\1", \
        content, flags = re.M)
with open(arg, 'w') as file:
    file.write(content)
```

Executed with:
`find . -regextype posix-egrep -regex ".*\.([hc]|fmt|function)" | xargs -L1 python script.py`

One comment in ctr_drbg.h had to be fixed manually, because /**< was spanning on multiple line.

Signed-off-by: Mateusz Starzyk <mateusz.starzyk@mobica.com>
2021-08-10 16:54:21 +02:00
..
2021-06-28 09:24:07 +01:00
2021-07-09 14:27:04 +02:00
2021-06-17 21:46:29 +02:00
2021-06-28 09:24:07 +01:00
2021-04-07 12:45:35 +01:00
2021-03-29 14:20:18 +01:00
2021-03-29 14:20:18 +01:00
2021-04-07 12:45:35 +01:00
2020-11-25 13:10:50 +01:00