================
@@ -4530,8 +4530,14 @@ SymbolFileDWARF::GetContainingDeclContext(const DWARFDIE 
&die) {
 }
 
 LanguageType SymbolFileDWARF::LanguageTypeFromDWARF(uint64_t val) {
-  if (val <= eLanguageTypeLastStandardLanguage)
-    return static_cast<LanguageType>(val);
+  if (val <= eLanguageTypeLastStandardLanguage) {
----------------
Michael137 wrote:

This function is too generic for this indirection to happen. I'd want to hear 
from HIP users/devs what the expectation is before making changes to LLDB

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

Reply via email to