]> granicus.if.org Git - clang/commit
[clang-diff] Use the relative name for NamedDecl
authorJohannes Altmanninger <aclopte@gmail.com>
Tue, 22 Aug 2017 08:56:26 +0000 (08:56 +0000)
committerJohannes Altmanninger <aclopte@gmail.com>
Tue, 22 Aug 2017 08:56:26 +0000 (08:56 +0000)
commitc690c1e9f118a8358fc7eb097f080b5b3ab6018f
treec3fb2ed0089a20880ed8a04063b888621540773e
parentc53cc0a19f751bddd7beb7438dd114d0169fb783
[clang-diff] Use the relative name for NamedDecl

Summary:
If a node referring to a name is within a class or namespace, do not use
the full qualified name, but strip the namespace prefix.

Reviewers: arphaman, bkramer

Subscribers: klimek

Differential Revision: https://reviews.llvm.org/D36681

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311433 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Tooling/ASTDiff/ASTDiff.h
lib/Tooling/ASTDiff/ASTDiff.cpp
test/Tooling/clang-diff-ast.cpp
test/Tooling/clang-diff-basic.cpp
test/Tooling/clang-diff-html.test
test/Tooling/clang-diff-topdown.cpp