[all-commits] [llvm/llvm-project] f86050: [clang][bytecode] Don't call checkLiteralType() in...
Timm Baeder via All-commits
all-commits at lists.llvm.org
Sat Sep 21 11:01:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f86050de738385ecc27e7ce827f72296be8def36
https://github.com/llvm/llvm-project/commit/f86050de738385ecc27e7ce827f72296be8def36
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-09-21 (Sat, 21 Sep 2024)
Changed paths:
M clang/lib/AST/ByteCode/Compiler.cpp
M clang/lib/AST/ByteCode/Interp.cpp
M clang/lib/AST/ByteCode/Interp.h
M clang/test/AST/ByteCode/cxx17.cpp
Log Message:
-----------
[clang][bytecode] Don't call checkLiteralType() in visitInitializer() (#109530)
We were calling checkLiteralType() too many time and rejecting some
things we shouldn't. Add The calls manually when handling
MaterializeTemporaryExprs. Maybe we should call it in other places as
well, but adding more calls is easier than removing them from a generic
code path.
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