mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 10:54:42 +00:00
Properly deserialize Clang types that are used as attribute arguments
llvm-svn: 115616
This commit is contained in:
parent
33e956ce63
commit
9e6ce12abf
@ -44,7 +44,7 @@ std::string ReadPCHRecord(StringRef type) {
|
||||
return StringSwitch<std::string>(type)
|
||||
.EndsWith("Decl *", "cast_or_null<" + std::string(type, 0, type.size()-1) +
|
||||
">(GetDecl(Record[Idx++]))")
|
||||
.Case("QualType", "ReadTypeRecord(Idx++)")
|
||||
.Case("QualType", "GetType(Record[Idx++])")
|
||||
.Default("Record[Idx++]");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user