This simplifies the code by avoiding some special cases for family names (as opposed to device names).
This patch is just a refactor, the next patch will have a meaningful improvement.
Paths 
  |  Differential  D137520  
[AVR][Clang] Move family names into MCU list ClosedPublic Authored by aykevl on Nov 6 2022, 6:50 PM. 
Details Summary This simplifies the code by avoiding some special cases for family names (as opposed to device names). This patch is just a refactor, the next patch will have a meaningful improvement. 
Diff Detail 
 Event Timelineaykevl added a child revision: D137521: [AVR][Clang] Implement __AVR_ARCH__ macro.Nov 6 2022, 6:58 PM This revision is now accepted and ready to land.Nov 11 2022, 12:36 AM This revision was landed with ongoing or failed builds.Nov 15 2022, 6:29 AM Closed by commit rGd2563775cd6e: [AVR][Clang] Move family names into MCU list (authored by aykevl).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 473536 clang/lib/Basic/Targets/AVR.h
 clang/lib/Basic/Targets/AVR.cpp
 clang/test/Misc/target-invalid-cpu-note.c
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||