[clang-tidy] Concatenate nested namespaces (6/7: components t-z) (#16305)

This commit is contained in:
Jonathan Swoboda authored and GitHub committed 2026-05-08 01:13:38 +00:00
1 parent ded83812f4
commit 6ffcb821ca
226 files changed
+458 -903

No files matched your search

@@ -1,7 +1,6 @@
#include "touchscreen_binary_sensor.h"
namespace esphome {
namespace touchscreen {
namespace esphome::touchscreen {
void TouchscreenBinarySensor::setup() {
this->parent_->register_listener(this);
@@ -30,5 +29,4 @@ void TouchscreenBinarySensor::touch(TouchPoint tp) {
void TouchscreenBinarySensor::release() { this->publish_state(false); }
} // namespace touchscreen
} // namespace esphome
} // namespace esphome::touchscreen
@@ -8,8 +8,7 @@
#include <vector>
namespace esphome {
namespace touchscreen {
namespace esphome::touchscreen {
class TouchscreenBinarySensor : public binary_sensor::BinarySensor,
public Component,
@@ -44,5 +43,4 @@ class TouchscreenBinarySensor : public binary_sensor::BinarySensor,
std::vector<display::DisplayPage *> pages_{};
};
} // namespace touchscreen
} // namespace esphome
} // namespace esphome::touchscreen