Mercurial > hg > CbC > CbC_llvm
diff clang/lib/AST/FormatString.cpp @ 174:f935e5e0dbe7
merged
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 12:28:41 +0900 |
parents | e8a9b4f4d755 0572611fdcc8 |
children | dd44ba33042e |
line wrap: on
line diff
--- a/clang/lib/AST/FormatString.cpp Mon May 25 11:20:42 2020 +0900 +++ b/clang/lib/AST/FormatString.cpp Mon May 25 12:28:41 2020 +0900 @@ -542,7 +542,7 @@ } std::string ArgType::getRepresentativeTypeName(ASTContext &C) const { - std::string S = getRepresentativeType(C).getAsString(); + std::string S = getRepresentativeType(C).getAsString(C.getPrintingPolicy()); std::string Alias; if (Name) {