]> granicus.if.org Git - clang/commit
Re-land r372863: [AST] Extract Decl::printNestedNameSpecifier helper from Decl::print...
authorIlya Biryukov <ibiryukov@google.com>
Wed, 25 Sep 2019 15:46:04 +0000 (15:46 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Wed, 25 Sep 2019 15:46:04 +0000 (15:46 +0000)
commit8967ab042f1362ba911a2b662aab026407d2117a
treeb479af7145dfa28c683109c35d10cb6900c91466
parent1c608cb5880f16323e34443530fa64c21a88d84c
Re-land r372863: [AST] Extract Decl::printNestedNameSpecifier helper from Decl::printQualifiedName

Reverted in r372880 due to the test failure.
Also contains a fix that adjusts printQualifiedName to return the same results as before in
case of anonymous function locals and parameters.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372889 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
lib/AST/Decl.cpp
unittests/AST/NamedDeclPrinterTest.cpp