Fix crash in getFullyQualifiedName for inline namespace
authorAlexey Bader <alexey.bader@intel.com>
Sat, 28 Dec 2019 13:13:33 +0000 (16:13 +0300)
committerAlexey Bader <alexey.bader@intel.com>
Sat, 28 Dec 2019 13:35:51 +0000 (16:35 +0300)
commit128f39da932be50cb49646084820119e6e0d1e22
tree4ef8d1979c804ccef5190462b28b23d2833bd0c3
parent8612e92ed590e615f9f56e4fb86a1fdaf3a39e15
Fix crash in getFullyQualifiedName for inline namespace

Summary: The ICE happens when the most outer namespace is an inline namespace.

Reviewers: bkramer, ilya-biryukov

Reviewed By: ilya-biryukov

Subscribers: ebevhan, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D71962
clang/lib/AST/QualTypeNames.cpp
clang/unittests/Tooling/QualTypeNamesTest.cpp