In ParseOpenMP.cpp:
bool ColonExpected = false; ... ... ... else if (ColonExpected) Diag(Tok, diag::warn_pragma_expected_colon) << "map type";
The flag ColonExpected is not changed after being initialized to false at declaration. Hence, the code within the else if is never executed.
We should remove all instances of this flag.