On reflection, this is better despite the missing command-line handling
bits for remarks. Making this a remark makes it much clearer that
this is purely informational and avoids the negative connotations of a
'warning'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208367
91177308-0d34-0410-b5e6-
96231b3b80d8
InGroup<ConfigMacros>;
def note_module_def_undef_here : Note<
"macro was %select{defined|#undef'd}0 here">;
-def warn_module_build : Warning<"building module '%0' as '%1'">,
+def remark_module_build : Remark<"building module '%0' as '%1'">,
InGroup<DiagGroup<"module-build">>, DefaultIgnore;
def err_missing_vfs_overlay_file : Error<
return ModuleLoadResult();
}
- getDiagnostics().Report(ImportLoc, diag::warn_module_build)
+ getDiagnostics().Report(ImportLoc, diag::remark_module_build)
<< ModuleName << ModuleFileName;
// Check whether we have already attempted to build this module (but
// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fsyntax-only %s -verify \
// RUN: -I %t -Wmodule-build
-@import A; // expected-warning{{building module 'A' as}}
-@import B; // expected-warning{{building module 'B' as}}
+@import A; // expected-remark{{building module 'A' as}}
+@import B; // expected-remark{{building module 'B' as}}
@import A; // no diagnostic
@import B; // no diagnostic