diff options
author | emaste <emaste@FreeBSD.org> | 2014-02-25 21:42:16 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2014-02-25 21:42:16 +0000 |
commit | 788502c6f6261e2d84ef85d1052b41a6c5be31b3 (patch) | |
tree | e0f754ea0922908b0f1be8f01c4efbdfc20462eb /source/Expression/ClangExpressionDeclMap.cpp | |
parent | 6beac4fcf9e5327f07c0fefd527180124438096a (diff) | |
download | FreeBSD-src-788502c6f6261e2d84ef85d1052b41a6c5be31b3.zip FreeBSD-src-788502c6f6261e2d84ef85d1052b41a6c5be31b3.tar.gz |
Import LLDB as of SVN r202189 (git 32871eb)
(A number of files not required for the FreeBSD build have been removed.)
Sponsored by: DARPA, AFRL
Diffstat (limited to 'source/Expression/ClangExpressionDeclMap.cpp')
-rw-r--r-- | source/Expression/ClangExpressionDeclMap.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/Expression/ClangExpressionDeclMap.cpp b/source/Expression/ClangExpressionDeclMap.cpp index 64ef982..198fde9 100644 --- a/source/Expression/ClangExpressionDeclMap.cpp +++ b/source/Expression/ClangExpressionDeclMap.cpp @@ -1428,6 +1428,10 @@ ClangExpressionDeclMap::FindExternalVisibleDecls (NameSearchContext &context, if (data_symbol) { + std::string warning("got name from symbols: "); + warning.append(name.AsCString()); + const unsigned diag_id = m_ast_context->getDiagnostics().getCustomDiagID(clang::DiagnosticsEngine::Level::Warning, "%0"); + m_ast_context->getDiagnostics().Report(diag_id) << warning.c_str(); AddOneGenericVariable(context, *data_symbol, current_id); context.m_found.variable = true; } |