]> granicus.if.org Git - clang/commit
Fix AST serialization of reference-to-reference types. This previously caused
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 12 Apr 2011 10:38:03 +0000 (10:38 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 12 Apr 2011 10:38:03 +0000 (10:38 +0000)
commitdf1550fc59b51681d37225934fe4e3acac321621
tree045cee9183d002dc4ad71f4e406564f55c8aeb7d
parent9d5d308c9be367ec41cc6a89f215d45f675b4617
Fix AST serialization of reference-to-reference types. This previously caused
a crash when deserializing the AST for this:

  typedef char (&R);
    extern R &r;

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129358 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
test/PCH/cxx-reference.cpp [new file with mode: 0644]
test/PCH/cxx-reference.h [new file with mode: 0644]