[all-commits] [llvm/llvm-project] 1e8286: Use VersionTuple for parsing versions in Triple. T...

James Farrell via All-commits all-commits at lists.llvm.org
Tue Nov 30 07:44:53 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e8286467036d8ef1a972de723f805a4981b2692
      https://github.com/llvm/llvm-project/commit/1e8286467036d8ef1a972de723f805a4981b2692
  Author: James Farrell <jamesfarrell at google.com>
  Date:   2021-11-30 (Tue, 30 Nov 2021)

  Changed paths:
    M clang/lib/ARCMigrate/ARCMT.cpp
    M clang/lib/Basic/Targets/OSTargets.cpp
    M clang/lib/Basic/Targets/OSTargets.h
    M clang/lib/Basic/Targets/X86.h
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/lib/Driver/ToolChains/Linux.cpp
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/lib/Driver/ToolChains/NetBSD.cpp
    M clang/test/Sema/attr-availability-android.c
    M clang/test/Sema/attr-availability.c
    M clang/test/Sema/availability-guard-format.mm
    M clang/test/SemaObjC/attr-availability.m
    M clang/test/SemaObjC/property-deprecated-warning.m
    M clang/test/SemaObjC/unguarded-availability-maccatalyst.m
    M clang/test/SemaObjC/unguarded-availability.m
    M llvm/include/llvm/ADT/Triple.h
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    M llvm/lib/MC/MCStreamer.cpp
    M llvm/lib/Support/Triple.cpp
    M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
    M llvm/lib/Target/AArch64/AArch64Subtarget.h
    M llvm/lib/Target/X86/X86Subtarget.h
    M llvm/unittests/ADT/TripleTest.cpp

  Log Message:
  -----------
  Use VersionTuple for parsing versions in Triple. This makes it possible to distinguish between "16" and "16.0" after parsing, which previously was not possible.

See also https://github.com/android/ndk/issues/1455.

Differential Revision: https://reviews.llvm.org/D114163




More information about the All-commits mailing list