File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -198,15 +198,15 @@ class Action : public clang::ASTFrontendAction {
198198
199199 if (!Insert) {
200200 llvm::errs ()
201- << " [WARNING] -insert is deprecated in favor of `-disable-insert`. "
201+ << " warning: ` -insert=0` is deprecated in favor of `-disable-insert`. "
202202 " The old flag was confusing since it suggested that inserts "
203203 " were disabled by default, when they were actually enabled. "
204204 " See https://github.com/llvm/llvm-project/issues/132983\n " ;
205205 }
206206
207207 if (!Remove) {
208208 llvm::errs ()
209- << " [WARNING] -remove is deprecated in favor of `-disable-remove`. "
209+ << " warning: ` -remove=0` is deprecated in favor of `-disable-remove`. "
210210 " The old flag was confusing since it suggested that removes "
211211 " were disabled by default, when they were actually enabled. "
212212 " See https://github.com/llvm/llvm-project/issues/132983\n " ;
You can’t perform that action at this time.
0 commit comments