OffloadArch was a flat enum that hand-duplicated every AMDGPU and NVPTX target, plus a few edge cases. This was yet another place that needed updating every time a new target is added, which should now be avoided. Replace with a tagged union-like scheme. Co-authored-by: Claude (Claude-Opus-4.8) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| AtomicLineLoggerTest.cpp | ||
| CharInfoTest.cpp | ||
| CMakeLists.txt | ||
| DarwinSDKInfoTest.cpp | ||
| DiagnosticTest.cpp | ||
| FileEntryTest.cpp | ||
| FileManagerTest.cpp | ||
| LangOptionsTest.cpp | ||
| LineOffsetMappingTest.cpp | ||
| OffloadArchTest.cpp | ||
| SanitizersTest.cpp | ||
| SarifTest.cpp | ||
| SourceManagerTest.cpp | ||