Skip to content

Commit f262bae

Browse files
committed
Reformat entire codebase (except Tolk) with clang-format 21
This was done by `clang-format -i $(git ls-files '*.h' '*.hpp' '*.cpp' ':!^example/android/third_party' ':!^tolk/')`.
1 parent 26923f4 commit f262bae

File tree

980 files changed

+11466
-13067
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

980 files changed

+11466
-13067
lines changed

adnl/adnl-address-list.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
1717
Copyright 2017-2020 Telegram Systems LLP
1818
*/
19-
#include "adnl-address-list.hpp"
20-
#include "adnl-peer-table.h"
2119
#include "auto/tl/ton_api.hpp"
22-
#include "td/utils/overloaded.h"
23-
#include "td/net/UdpServer.h"
2420
#include "keys/encryptor.h"
21+
#include "td/net/UdpServer.h"
22+
#include "td/utils/overloaded.h"
23+
24+
#include "adnl-address-list.hpp"
25+
#include "adnl-peer-table.h"
2526

2627
namespace ton {
2728

adnl/adnl-address-list.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@
1818
*/
1919
#pragma once
2020

21-
#include "adnl-network-manager.h"
2221
#include "crypto/common/refcnt.hpp"
2322

23+
#include "adnl-network-manager.h"
24+
2425
namespace ton {
2526

2627
namespace adnl {

adnl/adnl-address-list.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
*/
1919
#pragma once
2020

21-
#include "adnl-node-id.hpp"
2221
#include "adnl-address-list.h"
22+
#include "adnl-node-id.hpp"
2323

2424
namespace ton {
2525

adnl/adnl-channel.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
1717
Copyright 2017-2020 Telegram Systems LLP
1818
*/
19+
#include "crypto/Ed25519.h"
20+
#include "td/utils/crypto.h"
21+
1922
#include "adnl-channel.hpp"
20-
#include "adnl-peer.h"
2123
#include "adnl-peer-table.h"
22-
23-
#include "td/utils/crypto.h"
24-
#include "crypto/Ed25519.h"
24+
#include "adnl-peer.h"
2525

2626
namespace ton {
2727

adnl/adnl-channel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
#pragma once
2020

2121
#include "adnl-local-id.h"
22-
#include "adnl-peer.h"
23-
#include "adnl-peer-table.h"
2422
#include "adnl-network-manager.h"
23+
#include "adnl-peer-table.h"
24+
#include "adnl-peer.h"
2525

2626
namespace ton {
2727

adnl/adnl-channel.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@
1818
*/
1919
#pragma once
2020

21-
#include "adnl-channel.h"
2221
#include "keys/encryptor.h"
2322

23+
#include "adnl-channel.h"
24+
2425
namespace ton {
2526

2627
namespace adnl {

adnl/adnl-db.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616
1717
Copyright 2017-2020 Telegram Systems LLP
1818
*/
19-
#include "adnl-db.hpp"
2019
#include "td/db/RocksDb.h"
2120

21+
#include "adnl-db.hpp"
22+
2223
namespace ton {
2324

2425
namespace adnl {

adnl/adnl-db.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@
1818
*/
1919
#pragma once
2020

21-
#include "adnl-db.h"
2221
#include "td/db/KeyValue.h"
2322

23+
#include "adnl-db.h"
24+
2425
namespace ton {
2526

2627
namespace adnl {

adnl/adnl-ext-client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
1717
Copyright 2017-2020 Telegram Systems LLP
1818
*/
19-
#include "adnl-ext-client.hpp"
2019
#include "adnl-ext-client.h"
20+
#include "adnl-ext-client.hpp"
2121

2222
namespace ton {
2323

adnl/adnl-ext-client.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@
1818
*/
1919
#pragma once
2020

21-
#include "adnl-node-id.hpp"
2221
#include "td/utils/port/IPAddress.h"
2322

23+
#include "adnl-node-id.hpp"
24+
2425
namespace ton {
2526

2627
namespace adnl {

0 commit comments

Comments
 (0)