[all-commits] [llvm/llvm-project] 15a484: [clang][ConstExprEmitter] handle IntegerLiterals
Nick Desaulniers via All-commits
all-commits at lists.llvm.org
Tue Jul 25 14:21:28 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 15a484bf6990c5c3b759f5bbf99055612c20b924
https://github.com/llvm/llvm-project/commit/15a484bf6990c5c3b759f5bbf99055612c20b924
Author: Nick Desaulniers <ndesaulniers at google.com>
Date: 2023-07-25 (Tue, 25 Jul 2023)
Changed paths:
M clang/lib/CodeGen/CGExprConstant.cpp
Log Message:
-----------
[clang][ConstExprEmitter] handle IntegerLiterals
Improves the ability of ConstExprEmitter to evaluate constants.
Found by adding asserts to ConstantEmitter::tryEmitPrivate to find cases
where ConstExprEmitter::Visit() fails to resolve (obvious) constants.
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D156154
More information about the All-commits
mailing list