================
@@ -316,6 +316,10 @@ bool Language::LanguageIsCPlusPlus(LanguageType language) {
   }
 }
 
+bool Language::LanguageIsRust(LanguageType language) {
+  return language == eLanguageTypeRust;
----------------
Michael137 wrote:

Maybe eventually we'd want something like a "PretendsToBeCxx" API, which is 
true for rust and couple other languages. But that's out of scope

https://github.com/llvm/llvm-project/pull/165840
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to