Add a comment in ASTReader::ReadPragmaDiagnosticMappings that the user bit
is set by the setDiagnosticMapping call. llvm-svn: 140578
This commit is contained in:
parent
01ea1a618d
commit
c934ee30bd
|
@ -3090,6 +3090,7 @@ void ASTReader::ReadPragmaDiagnosticMappings(DiagnosticsEngine &Diag) {
|
|||
break; // no more diag/map pairs for this location.
|
||||
}
|
||||
diag::Mapping Map = (diag::Mapping)F.PragmaDiagMappings[Idx++];
|
||||
// The user bit gets set by WritePragmaDiagnosticMappings.
|
||||
Diag.setDiagnosticMapping(DiagID, Map, Loc);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue