SWDEV-286150 - [NFC] Refactor setLanguage method into a static function called getCOMGRLanguage

* Return the result by value and not through a pointer passed by
parameter

Change-Id: I8f872c95c4a330bebe299d486fb73f36660b469c
Cette révision appartient à :
Juan Manuel MARTINEZ CAAMAÑO
2023-03-14 18:01:05 +01:00
révisé par Maneesh Gupta
Parent 88b4b6428c
révision 37849a0726
2 fichiers modifiés avec 19 ajouts et 30 suppressions
-3
Voir le fichier
@@ -435,9 +435,6 @@ class Program : public amd::HeapObject {
const amd_comgr_data_kind_t dataKind, const std::string& outFileName,
char* outBinary[] = nullptr, size_t* outSize = nullptr);
//! Set the OCL language
void setLanguage(const char* clStd, amd_comgr_language_t* langver);
//! Create code object and add it into the data set
amd_comgr_status_t addCodeObjData(const char *source,
const size_t size, const amd_comgr_data_kind_t type,