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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to