[all-commits] [llvm/llvm-project] 13aac4: [clang][NFC] Refactor CodeGen's hasBooleanRepresen...
Andy Kaylor via All-commits
all-commits at lists.llvm.org
Thu Apr 3 14:03:47 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 13aac46332f607a38067b5ddd466071683b8c255
https://github.com/llvm/llvm-project/commit/13aac46332f607a38067b5ddd466071683b8c255
Author: Andy Kaylor <akaylor at nvidia.com>
Date: 2025-04-03 (Thu, 03 Apr 2025)
Changed paths:
M clang/include/clang/AST/Type.h
M clang/lib/AST/Type.cpp
M clang/lib/CodeGen/CGExpr.cpp
Log Message:
-----------
[clang][NFC] Refactor CodeGen's hasBooleanRepresentation (#134159)
The ClangIR upstreaming project needs the same logic for
hasBooleanRepresentation() that is currently implemented in the standard
clang codegen. In order to share this code, this change moves the
implementation of this function into the AST Type class.
No functional change is intended by this change. The ClangIR use of this
function will be added separately in a later change.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list