[all-commits] [llvm/llvm-project] 531791: [clang] Add missing canonicalization in int litera...
Henrik G. Olsson via All-commits
all-commits at lists.llvm.org
Mon Oct 2 01:03:45 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 53179129edbff13644b7c46336773fb8740899c9
https://github.com/llvm/llvm-project/commit/53179129edbff13644b7c46336773fb8740899c9
Author: Henrik G. Olsson <hnrklssn at gmail.com>
Date: 2023-10-02 (Mon, 02 Oct 2023)
Changed paths:
M clang/lib/AST/StmtProfile.cpp
Log Message:
-----------
[clang] Add missing canonicalization in int literal profile (#67822)
The addition of the type kind to the profile ID of IntegerLiterals
results in e.g. size_t and unsigned long literals mismatch even on
platforms where they are canonically the same type. This patch checks
the Canonical field to determine whether to canonicalize the type first.
rdar://116063468
More information about the All-commits
mailing list