mirror of
https://github.com/esphome/esphome.git
synced 2025-07-07 07:33:16 +01:00
fix clang-tidy
This commit is contained in:
@ -181,7 +181,8 @@ int main() { return 0;}
|
||||
defines = []
|
||||
define_pattern = re.compile(r"-D\s*([^\s]+)")
|
||||
for match in define_pattern.findall(command):
|
||||
defines.append(match)
|
||||
if match not in ("_ASMLANGUAGE"):
|
||||
defines.append(match)
|
||||
return defines
|
||||
|
||||
def find_cxx_path(commands):
|
||||
|
Reference in New Issue
Block a user