[clang-tidy] Concatenate nested namespaces (2/7: components d-h) (#16295)
This commit is contained in:
1 parent
06bd92c388
commit
4e4e4b4411
308 files changed
+632
-1242
No files matched your search
@@ -9,8 +9,7 @@
|
||||
#include <cinttypes>
|
||||
#include <climits>
|
||||
|
||||
namespace esphome {
|
||||
namespace debug {
|
||||
namespace esphome::debug {
|
||||
|
||||
static const char *const TAG = "debug";
|
||||
|
||||
@@ -93,5 +92,4 @@ void DebugComponent::update() {
|
||||
|
||||
float DebugComponent::get_setup_priority() const { return setup_priority::LATE; }
|
||||
|
||||
} // namespace debug
|
||||
} // namespace esphome
|
||||
} // namespace esphome::debug
|
||||
@@ -13,8 +13,7 @@
|
||||
#include "esphome/components/text_sensor/text_sensor.h"
|
||||
#endif
|
||||
|
||||
namespace esphome {
|
||||
namespace debug {
|
||||
namespace esphome::debug {
|
||||
|
||||
static constexpr size_t DEVICE_INFO_BUFFER_SIZE = 256;
|
||||
static constexpr size_t RESET_REASON_BUFFER_SIZE = 128;
|
||||
@@ -101,5 +100,4 @@ class DebugComponent : public PollingComponent {
|
||||
void update_platform_();
|
||||
};
|
||||
|
||||
} // namespace debug
|
||||
} // namespace esphome
|
||||
} // namespace esphome::debug
|
||||
@@ -16,8 +16,7 @@
|
||||
#include <Esp.h>
|
||||
#endif
|
||||
|
||||
namespace esphome {
|
||||
namespace debug {
|
||||
namespace esphome::debug {
|
||||
|
||||
static const char *const TAG = "debug";
|
||||
|
||||
@@ -311,6 +310,6 @@ void DebugComponent::update_platform_() {
|
||||
#endif
|
||||
}
|
||||
|
||||
} // namespace debug
|
||||
} // namespace esphome
|
||||
} // namespace esphome::debug
|
||||
|
||||
#endif // USE_ESP32
|
||||
Reference in new issue
Block a user