head 1.2; access; symbols pkgsrc-2017Q4:1.1.0.12 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.10 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.6 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.4 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.2 pkgsrc-2016Q4-base:1.1; locks; strict; comment @// @; 1.2 date 2018.03.31.20.09.10; author joerg; state dead; branches; next 1.1; commitid 9DWntHYDHqiPhEwA; 1.1 date 2016.11.18.18.20.05; author joerg; state Exp; branches; next ; commitid vUQxY2IZTdoSGDuz; desc @@ 1.2 log @Update creduce to 2.7.0 and apply some additional clang interface changes. @ text @$NetBSD: patch-clang__delta_SimplifyStruct.cpp,v 1.1 2016/11/18 18:20:05 joerg Exp $ --- clang_delta/SimplifyStruct.cpp.orig 2016-11-17 01:56:34.000000000 +0000 +++ clang_delta/SimplifyStruct.cpp @@@@ -173,7 +173,7 @@@@ bool SimplifyStructRewriteVisitor::Visit SourceLocation LBLoc = ConsumerInstance->RewriteHelper->getLocationUntil(RD->getLocation(), '{'); - SourceLocation RBLoc = RD->getRBraceLoc(); + SourceLocation RBLoc = RD->getBraceRange().getEnd(); ConsumerInstance->TheRewriter.RemoveText(SourceRange(LBLoc, RBLoc)); return true; } @ 1.1 log @Fix for API changes in Clang 3.9. @ text @d1 1 a1 1 $NetBSD$ @