cling/patches/clang-ASTReaderDecl-friendDeclBug.diff
Axel Naumann 05d4e8f8d9 Improve patch paths.
git-svn-id: http://root.cern.ch/svn/root/trunk@49365 27541ba8-7e3a-0410-8455-c3a389f83636
2013-04-26 12:11:20 +00:00

12 lines
556 B
Diff

--- ./tools/clang/lib/Serialization/ASTReaderDecl.cpp 2013-04-11 09:34:53.573169052 +0200
+++ ./tools/clang/lib/Serialization/ASTReaderDecl.cpp 2013-04-24 19:40:15.673487393 +0200
@@ -1264,7 +1264,7 @@
D->Friend = GetTypeSourceInfo(Record, Idx);
for (unsigned i = 0; i != D->NumTPLists; ++i)
D->getTPLists()[i] = Reader.ReadTemplateParameterList(F, Record, Idx);
- D->NextFriend = Record[Idx++];
+ D->NextFriend = ReadDeclID(Record, Idx);
D->UnsupportedFriend = (Record[Idx++] != 0);
D->FriendLoc = ReadSourceLocation(Record, Idx);
}