@@ -509,30 +509,30 @@ REMARK(matching_output_produced,none,
509509 " produced matching output file '%0' for deterministic check: hash '%1'" , (StringRef, StringRef))
510510
511511// Caching related diagnostics
512- ERROR (error_caching_no_cas_fs, none,
512+ GROUPED_ERROR (error_caching_no_cas_fs, CompilationCaching , none,
513513 " caching is enabled without CAS file-system options, input is not immutable" , ())
514514ERROR(error_prefix_mapping, none, " cannot create scanner prefix mapping: '%0'" , (StringRef))
515515
516516REMARK(replay_output, none, " replay output file '%0': key '%1'" , (StringRef, StringRef))
517517REMARK(output_cache_miss, none, " cache miss for input file '%0': key '%1'" , (StringRef, StringRef))
518518
519519// CAS related diagnostics
520- ERROR (error_invalid_cas_id, none, " CAS cannot parse id '%0': %1" , (StringRef, StringRef))
521- ERROR (error_cas, none, " CAS error encountered during %0: %1" , (StringRef, StringRef))
522- ERROR (error_cas_fs_creation, none, " cannot create CAS filesystem: %0" , (StringRef))
523- ERROR (error_cache_key_creation, none, " cannot create cache key for compilation %0: %1" , (StringRef, StringRef))
524- ERROR (error_cas_file_ref, none, " cannot load file %0 from CAS filesystem" , (StringRef))
525- ERROR (error_cas_conflict_options, none, " cannot setup CAS due to conflicting '-cas-*' options" , ())
526- ERROR (error_cas_initialization, none, " CAS cannot be initialized from the specified '-cas-*' options: %0" , (StringRef))
527- ERROR (error_cas_malformed_input, none, " CAS input '%0' is malformed: %1" , (StringRef, StringRef))
528- WARNING (cache_replay_failed, none, " cache replay failed: %0" , (StringRef))
529-
530- ERROR (error_failed_cached_diag, none, " failed to serialize cached diagnostics: %0" , (StringRef))
531- ERROR (error_replay_cached_diag, none, " failed to replay cached diagnostics: %0" , (StringRef))
532-
533- ERROR (error_load_input_from_cas, none, " failed to load input '%0' from CAS" , (StringRef))
534-
535- ERROR (error_wrong_input_num_for_input_file_key, none, " -input-file-key only support one input file" , ())
520+ GROUPED_ERROR (error_invalid_cas_id, CompilationCaching , none, " CAS cannot parse id '%0': %1" , (StringRef, StringRef))
521+ GROUPED_ERROR (error_cas, CompilationCaching , none, " CAS error encountered during %0: %1" , (StringRef, StringRef))
522+ GROUPED_ERROR (error_cas_fs_creation, CompilationCaching , none, " cannot create CAS filesystem: %0" , (StringRef))
523+ GROUPED_ERROR (error_cache_key_creation, CompilationCaching , none, " cannot create cache key for compilation %0: %1" , (StringRef, StringRef))
524+ GROUPED_ERROR (error_cas_file_ref, CompilationCaching , none, " cannot load file %0 from CAS filesystem" , (StringRef))
525+ GROUPED_ERROR (error_cas_conflict_options, CompilationCaching , none, " cannot setup CAS due to conflicting '-cas-*' options" , ())
526+ GROUPED_ERROR (error_cas_initialization, CompilationCaching , none, " CAS cannot be initialized from the specified '-cas-*' options: %0" , (StringRef))
527+ GROUPED_ERROR (error_cas_malformed_input, CompilationCaching , none, " CAS input '%0' is malformed: %1" , (StringRef, StringRef))
528+ GROUPED_WARNING (cache_replay_failed, CompilationCaching , none, " cache replay failed: %0" , (StringRef))
529+
530+ GROUPED_ERROR (error_failed_cached_diag, CompilationCaching , none, " failed to serialize cached diagnostics: %0" , (StringRef))
531+ GROUPED_ERROR (error_replay_cached_diag, CompilationCaching , none, " failed to replay cached diagnostics: %0" , (StringRef))
532+
533+ GROUPED_ERROR (error_load_input_from_cas, CompilationCaching , none, " failed to load input '%0' from CAS" , (StringRef))
534+
535+ GROUPED_ERROR (error_wrong_input_num_for_input_file_key, CompilationCaching , none, " -input-file-key only support one input file" , ())
536536
537537// Dependency Verifier Diagnostics
538538ERROR(missing_member_dependency,none,
0 commit comments