comparison 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
comparison
equal deleted inserted replaced
170:0d65220a63c8 174:f935e5e0dbe7
540 Res = C.getPointerType(Res); 540 Res = C.getPointerType(Res);
541 return Res; 541 return Res;
542 } 542 }
543 543
544 std::string ArgType::getRepresentativeTypeName(ASTContext &C) const { 544 std::string ArgType::getRepresentativeTypeName(ASTContext &C) const {
545 std::string S = getRepresentativeType(C).getAsString(); 545 std::string S = getRepresentativeType(C).getAsString(C.getPrintingPolicy());
546 546
547 std::string Alias; 547 std::string Alias;
548 if (Name) { 548 if (Name) {
549 // Use a specific name for this type, e.g. "size_t". 549 // Use a specific name for this type, e.g. "size_t".
550 Alias = Name; 550 Alias = Name;