mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-02 18:42:36 +00:00
Properly deserialize Clang types that are used as attribute arguments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115616 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
605789564c
commit
4a12f22773
@ -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