feat(tools): update esp-clang version to esp-21.1.3_20260304

This commit is contained in:
Alexey Gerenkov
2026-05-07 17:42:32 +03:00
parent 65a9108da3
commit 97e6873e34
20 changed files with 99 additions and 482 deletions
+7
View File
@@ -1,2 +1,9 @@
idf_component_register(SRCS "rtti_example_main.cpp"
INCLUDE_DIRS ".")
if(CMAKE_C_COMPILER_ID MATCHES "Clang")
# Fix Clang 21 potentially-evaluated-expression warning
# rtti_example_main.cpp: error: expression with side effects will be evaluated
# despite being used as an operand to 'typeid'
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-potentially-evaluated-expression)
endif()