================
@@ -946,6 +953,24 @@ class DiagnosticsEngine : public 
RefCountedBase<DiagnosticsEngine> {
     return (Level)Diags->getDiagnosticLevel(DiagID, Loc, *this);
   }
 
+  /// Diagnostic suppression mappings can be used to ignore diagnostics based 
on
+  /// the file they occur in. Mapping file is expected to be a special case 
list
----------------
bricknerb wrote:

How about, instead "to ignore diagnostics based on the file they occur in", say 
"to avoid generating specific diagnostics in specific files" or perhaps "to 
suppress" or something similar?
I'm not sure "ignore diagnostics" clarifies the behavior.

https://github.com/llvm/llvm-project/pull/112517
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to