Unable to build clang

I just did a git pull from master and the clang build is now broken for me. There are many errors like this:

llvm/tools/clang/lib/CodeGen/CGBuiltin.cpp:9749:37: error: no member named ‘nvvm_wmma_load_a_f16_col_stride’ in namespace ‘llvm::Intrinsic’

IID = isColMajor ? Intrinsic::nvvm_wmma_load_a_f16_col_stride

llvm/tools/clang/tools/extra/modularize/CoverageChecker.cpp:374:28: error: no member named ‘basic_file_status’ in namespace ‘llvm::sys::fs’

llvm::ErrorOrsys::fs::basic_file_status Status = I->status();

llvm/tools/clang/tools/extra/modularize/CoverageChecker.cpp:374:66: error: too few arguments to function call, single argument 'result' was not specified

llvm::ErrorOr<sys::fs::basic_file_status> Status = I->status();

~~~~~~~~~ ^

I did another pull and this time it built fine(?).