diff options
-rw-r--r-- | include/clang/AST/Type.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h index 6d7a6d7ce7..6df13be7b0 100644 --- a/include/clang/AST/Type.h +++ b/include/clang/AST/Type.h @@ -167,6 +167,12 @@ public: /// exists, in place, within its containing object. void Read(llvm::Deserializer& D); + static inline QualType ReadVal(llvm::Deserializer& D) { + QualType Q; + Q.Read(D); + return Q; + } + /// EmitOwned - Serialize a QualType that owns the underlying Type*. void EmitOwned(llvm::Serializer& S) const; |