From 513adbda3332236565433770f767aaa5b37205d9 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 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@267667 91177308-0d34-0410-b5e6-96231b3b80d8 --- source/Symbol/ClangASTContext.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/Symbol/ClangASTContext.cpp b/source/Symbol/ClangASTContext.cpp index 1723c20811..e80faa15fe 100644 --- a/source/Symbol/ClangASTContext.cpp +++ b/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; } }