summaryrefslogtreecommitdiffstats
path: root/lib/Sema/Sema.cpp
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-06-03 13:29:08 +0000
committered <ed@FreeBSD.org>2009-06-03 13:29:08 +0000
commit48ecc7affef226b2bac1e08bdfdc059306a1734c (patch)
tree4075b1f9165f6c8d2b9a7e98b89a1348669f78fe /lib/Sema/Sema.cpp
parentf27e5a09a0d815b8a4814152954ff87dadfdefc0 (diff)
downloadFreeBSD-src-48ecc7affef226b2bac1e08bdfdc059306a1734c.zip
FreeBSD-src-48ecc7affef226b2bac1e08bdfdc059306a1734c.tar.gz
Import Clang, at r72770.
Diffstat (limited to 'lib/Sema/Sema.cpp')
-rw-r--r--lib/Sema/Sema.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp
index 1212d07..e3cea5b 100644
--- a/lib/Sema/Sema.cpp
+++ b/lib/Sema/Sema.cpp
@@ -60,7 +60,7 @@ static void ConvertArgToStringFn(Diagnostic::ArgumentKind Kind, intptr_t Val,
// Not va_list.
Ty.getUnqualifiedType() != Context.getBuiltinVaListType()) {
S = "'"+S+"' (aka '";
- S += DesugaredTy.getAsString();
+ S += DesugaredTy.getAsString(Context.PrintingPolicy);
S += "')";
Output.append(S.begin(), S.end());
return;
OpenPOWER on IntegriCloud