[cfe-users] Silencing errors in TSAN

2020-01-29 Thread Kyle Edwards via cfe-users
Hello all, I am attempting to build OpenMPI with TSAN enabled (to TSAN-itize a project that uses OpenMPI), and am finding that OpenMPI throws lots of errors in TSAN (not surprising.) I am attempting to build OpenMPI with the following blacklist: src:* However, I am still getting errors when I ru

Re: [cfe-users] clangd --clang-tidy: // NOLINT only works sometimes

2020-01-29 Thread Sam McCall via cfe-users
+clangd-dev The issue here is that the warned construct (CURL_GLOBAL_SSL|CURL_GLOBAL_WIN32) is inside a macro. clangd checks for the NOLINT comment only where the code is spelled (on the macro definition), clang-tidy checks both the spelling location and the expansion location (curl_global_init ca