diff options
Diffstat (limited to 'contrib/llvm-project/llvm/include/llvm/Support/AMDGPUMetadata.h')
-rw-r--r-- | contrib/llvm-project/llvm/include/llvm/Support/AMDGPUMetadata.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/llvm-project/llvm/include/llvm/Support/AMDGPUMetadata.h b/contrib/llvm-project/llvm/include/llvm/Support/AMDGPUMetadata.h index 920c97f7e112..eadc25870096 100644 --- a/contrib/llvm-project/llvm/include/llvm/Support/AMDGPUMetadata.h +++ b/contrib/llvm-project/llvm/include/llvm/Support/AMDGPUMetadata.h @@ -15,6 +15,7 @@ #ifndef LLVM_SUPPORT_AMDGPUMETADATA_H #define LLVM_SUPPORT_AMDGPUMETADATA_H +#include "llvm/ADT/StringRef.h" #include <cstdint> #include <string> #include <system_error> @@ -430,7 +431,7 @@ struct Metadata final { }; /// Converts \p String to \p HSAMetadata. -std::error_code fromString(std::string String, Metadata &HSAMetadata); +std::error_code fromString(StringRef String, Metadata &HSAMetadata); /// Converts \p HSAMetadata to \p String. std::error_code toString(Metadata HSAMetadata, std::string &String); |