Clangd throw an error when passing a pointer to an atomic var to atomic_init()
Summary The issue at hand is that clangd throws an error when passing a pointer to an atomic variable to atomic_init(), while no error is thrown when passing a pointer to a non-atomic variable. This error occurs despite the code compiling without issues. Root Cause The root cause of this error is due to the … Read more