commit | 8bc27822fc867d43399d4474bccbb58b7b7c7ad7 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Sat Dec 03 03:49:52 2011 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Sat Dec 03 03:49:52 2011 +0000 |
tree | c2f70b8b1461eb509604f1538c98e4ec336973de | |
parent | d977e6b0eb4c9b57b0aad6e9e0be39cc67b3a8c7 [diff] |
[PCH] Make sure that the SourceExpr of a OpaqueValueExpr is always initialized when deserialized, fixing random crashes in libclang. Also simplifies how OpaqueValueExprs are [de]serialized. The reader/writer automatically retains pointer equality of sub-statements (when a statement node is referenced in multiple nodes), so no need to manually handle it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145752 91177308-0d34-0410-b5e6-96231b3b80d8