OSDN Git Service

[libclang] Get rid of relience on SourceManager member signature
authorKadir Cetinkaya <kadircet@google.com>
Thu, 25 Jun 2020 08:56:51 +0000 (10:56 +0200)
committerKadir Cetinkaya <kadircet@google.com>
Thu, 25 Jun 2020 10:04:12 +0000 (12:04 +0200)
commitb5d3abea228bf17a009a007061c82d14461766c7
treee58ad7a6397274e5b12f5868af7183022cd736d5
parente4e2d8e4c2d2d61a5baf7eeab69a3f539343eca6
[libclang] Get rid of relience on SourceManager member signature

Summary:
Libclang was enforcing a singature on SourceManager::getLocalSLocEntry
which isn't possible to satisfy as pointed out in
https://reviews.llvm.org/D80681#inline-751438.

This patch updates the libclang, hopefully without breaking API stability, to
not rely on member signature. To enable changing the signature in D82498.

Reviewers: sammccall, bkramer

Subscribers: arphaman, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D82532
clang/tools/libclang/CIndexInclusionStack.cpp