From d8f24a9c4fe113e2d333a86973cb05b9b2f12ce0 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Wed, 27 Apr 2016 04:50:51 +0000 Subject: [PATCH] Committing patch from to use the default clang C/C++ expression parser when debugging Rust programs. Ideally there would be a rust language plugin to support their language natively, but until then this will get simple variable display to work. http://reviews.llvm.org/D19545 llvm-svn: 267667 --- lldb/source/Symbol/ClangASTContext.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp index 1723c20..e80faa1 100644 --- a/lldb/source/Symbol/ClangASTContext.cpp +++ b/lldb/source/Symbol/ClangASTContext.cpp @@ -110,6 +110,8 @@ namespace Language::LanguageIsC (language) || Language::LanguageIsCPlusPlus (language) || Language::LanguageIsObjC (language) || + // Use Clang for Rust until there is a proper language plugin for it + language == eLanguageTypeRust || language == eLanguageTypeExtRenderScript; } } -- 2.7.4