================
@@ -0,0 +1,126 @@
+#include "clang/Basic/OffloadArch.h"
+
+#include "llvm/ADT/StringRef.h"
+
+#include <algorithm>
+
+namespace clang {
+
+namespace {
+struct OffloadArchToStringMap {
+ OffloadArch arch;
+ const char *arch_name;
+ const char *virtual_arch_name;
----------------
jhuber6 wrote:
While we're here, can we update these to the LLVM style?
```suggestion
OffloadArch Arch
const char *ArchName;
const char *VirtualArchName;
```
https://github.com/llvm/llvm-project/pull/137070
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits