aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaInherit.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-18 22:52:51 +0000
committerChris Lattner <sabre@nondot.org>2008-11-18 22:52:51 +0000
commitc9c7c4e06bba5dce053162ea1ead5743d7bba35b (patch)
treebd1668aa18766c795d495b40f4fcd6717515f3b0 /lib/Sema/SemaInherit.cpp
parent3e283e344595e0bd499b13b30a92b7d9c10a2140 (diff)
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
Diffstat (limited to 'lib/Sema/SemaInherit.cpp')
-rw-r--r--lib/Sema/SemaInherit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/SemaInherit.cpp b/lib/Sema/SemaInherit.cpp
index b2d9b88fcd..398f388f88 100644
--- a/lib/Sema/SemaInherit.cpp
+++ b/lib/Sema/SemaInherit.cpp
@@ -204,8 +204,8 @@ Sema::CheckDerivedToBaseConversion(QualType Derived, QualType Base,
}
}
- 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;
}