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_RemoveBaseClass.cpp,v 1.1 2016/11/18 18:20:05 joerg Exp $ --- clang_delta/RemoveBaseClass.cpp.orig 2016-11-17 01:45:06.000000000 +0000 +++ clang_delta/RemoveBaseClass.cpp @@@@ -209,7 +209,7 @@@@ void RemoveBaseClass::copyBaseClassDecls return; SourceLocation StartLoc = RewriteHelper->getLocationAfter(TheBaseClass->getLocation(), '{'); - SourceLocation EndLoc = TheBaseClass->getRBraceLoc(); + SourceLocation EndLoc = TheBaseClass->getBraceRange().getEnd(); TransAssert(EndLoc.isValid() && "Invalid RBraceLoc!"); EndLoc = EndLoc.getLocWithOffset(-1); @@@@ -217,7 +217,7 @@@@ void RemoveBaseClass::copyBaseClassDecls TheRewriter.getRewrittenText(SourceRange(StartLoc, EndLoc)); TransAssert(!DeclsStr.empty() && "Empty DeclsStr!"); - SourceLocation InsertLoc = TheDerivedClass->getRBraceLoc(); + SourceLocation InsertLoc = TheDerivedClass->getBraceRange().getEnd(); TheRewriter.InsertTextBefore(InsertLoc, DeclsStr); } @ 1.1 log @Fix for API changes in Clang 3.9. @ text @d1 1 a1 1 $NetBSD$ @