[PATCH] D156154: [clang][ConstExprEmitter] handle IntegerLiterals

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 24 16:20:14 PDT 2023


shafik added a comment.

In D156154#4529907 <https://reviews.llvm.org/D156154#4529907>, @nickdesaulniers wrote:

> 



> Should speed up "is the below expression a constant expression?"
>
>> What kind of code do this effect?
>
>
>
>   int y = 2;
>           ^ is 2 a constant expression?

Nice!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156154/new/

https://reviews.llvm.org/D156154



More information about the cfe-commits mailing list