Merge branch 'feature/clang_toolchain_compat' into 'master'

Build system: minimal changes for clang compatibility

See merge request espressif/esp-idf!15168
This commit is contained in:
Ivan Grokhotkov
2021-09-23 08:19:09 +00:00
16 changed files with 149 additions and 33 deletions

View File

@@ -399,7 +399,7 @@ void IRAM_ATTR __attribute__((noreturn, no_sanitize_undefined)) panic_abort(cons
#endif
#endif
*((int *) 0) = 0; // NOLINT(clang-analyzer-core.NullDereference) should be an invalid operation on targets
*((volatile int *) 0) = 0; // NOLINT(clang-analyzer-core.NullDereference) should be an invalid operation on targets
while (1);
}