start converting Sema over to using its canonical Diag method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59561 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaInherit.cpp b/lib/Sema/SemaInherit.cpp
index b2d9b88..398f388 100644
--- a/lib/Sema/SemaInherit.cpp
+++ b/lib/Sema/SemaInherit.cpp
@@ -204,8 +204,8 @@
}
}
- Diag(Loc, diag::err_ambiguous_derived_to_base_conv,
- Derived.getAsString(), Base.getAsString(), PathDisplayStr, Range);
+ Diag(Loc, diag::err_ambiguous_derived_to_base_conv)
+ << Derived.getAsString() << Base.getAsString() << PathDisplayStr << Range;
return true;
}