[DeclPrinter] Allow printing fully qualified name of function declaration
authorSerge Pavlov <sepavloff@gmail.com>
Thu, 23 Nov 2017 05:38:20 +0000 (05:38 +0000)
committerSerge Pavlov <sepavloff@gmail.com>
Thu, 23 Nov 2017 05:38:20 +0000 (05:38 +0000)
commit842022a0f150e6653fd36ee606743a711db5f4f8
treee61251f42c8052988bb11937df074821a3a57a4e
parentc5b8e8b97f233f373607e817845904b6443add68
[DeclPrinter] Allow printing fully qualified name of function declaration

When requesting a tooltip for a function call in an IDE, the fully
qualified name helps to remove ambiguity in the function signature.

Patch by Nikolai Kosjar!

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

llvm-svn: 318896
clang/include/clang/AST/PrettyPrinter.h
clang/lib/AST/DeclPrinter.cpp
clang/unittests/AST/DeclPrinterTest.cpp