[PATCH] D44842: Add Parameters to DW_AT_name Attribute of Template Variables
Matthew Voss via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 3 11:02:10 PDT 2018
ormris added a comment.
No such luck...
Patch:
Index: source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
===================================================================
--- source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp (revision 329079)
+++ source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp (working copy)
@@ -400,8 +400,9 @@
break;
case lldb::eLanguageTypeC_plus_plus:
case lldb::eLanguageTypeC_plus_plus_11:
+ m_compiler->getLangOpts().CPlusPlus11 = true;
case lldb::eLanguageTypeC_plus_plus_14:
- m_compiler->getLangOpts().CPlusPlus11 = true;
+ m_compiler->getLangOpts().CPlusPlus14 = true;
m_compiler->getHeaderSearchOpts().UseLibcxx = true;
LLVM_FALLTHROUGH;
case lldb::eLanguageTypeC_plus_plus_03:
Output:
(lldb) e crazy<int>
error: use of undeclared identifier 'crazy'
error: expected '(' for function-style cast or type construction
error: expected expression
Repository:
rC Clang
https://reviews.llvm.org/D44842
More information about the cfe-commits
mailing list