1
0
mirror of https://github.com/esphome/esphome.git synced 2025-07-08 08:03:08 +01:00

fix clang-tidy

This commit is contained in:
Tomasz Duda
2024-07-24 15:03:00 +02:00
parent dd43acf7af
commit 0c494f3650
4 changed files with 4 additions and 2 deletions
.clang-tidy
esphome
components
zephyr
core
script

@ -218,7 +218,7 @@ int main() { return 0;}
r"(-O[0-3s]|-g|-std=[^\s]+|-Wall|-Wextra|-Werror|--[^\s]+|-f[^\s]+|-m[^\s]+|-imacros\s*[^\s]+)"
)
for match in flag_pattern.findall(command):
flags.append(match)
flags.append(match.replace("-imacros ", "-imacros"))
return flags
def transform_to_idedata_format(compile_commands):