[AST] Fix DeclarationNameInfo introspection
authorStephen Kelly <steveire@gmail.com>
Mon, 26 Apr 2021 17:28:50 +0000 (18:28 +0100)
committerStephen Kelly <steveire@gmail.com>
Mon, 26 Apr 2021 17:49:13 +0000 (18:49 +0100)
commit50b523cb2ceee4ca7279b4ce22ddb0d0b05df313
tree01521ab9f14b3a50a761af5ba0101a848f49eeda
parent10038d0b3dfcfa6abf8a710612899f859ef1534b
[AST] Fix DeclarationNameInfo introspection

Some AST classes return `const DeclarationNameInfo &` instead of
returning by value (eg CXXDependentScopeMemberExpr).
clang/lib/Tooling/DumpTool/ASTSrcLocProcessor.cpp
clang/unittests/Introspection/IntrospectionTest.cpp