aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-11-01 16:24:33 +0100
committerNikita Popov <npopov@redhat.com>2023-11-01 16:50:52 +0100
commit57384aeb3743dc2b5540cedd965977b6a67ae01f (patch)
tree0aa1510067516f02bc2c2e3e3b58b58efde2b3de /clang/lib/Basic/Module.cpp
parentc605431a4045f78929e8f6f0aeb20ee26ce6792c (diff)
downloadllvm-57384aeb3743dc2b5540cedd965977b6a67ae01f.zip
llvm-57384aeb3743dc2b5540cedd965977b6a67ae01f.tar.gz
llvm-57384aeb3743dc2b5540cedd965977b6a67ae01f.tar.bz2
[ConstantFold] Avoid creating undesirable cast expressions
Similar to what we do for binops, for undesirable casts we should call the constant folding API instead of the constant expr API, to avoid indirect creation of undesirable cast ops.
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions