Detect clang for diagnostic ignored deprecated