The Base expression might cause side-effects, so we still have to evaluate it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D149828  
[clang][Interp] Evaluate Base when discarding a MemberExpr ClosedPublic Authored by tbaeder on May 4 2023, 2:20 AM. 
Details Summary The Base expression might cause side-effects, so we still have to evaluate it. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.May 4 2023, 10:31 AM This revision was landed with ongoing or failed builds.Aug 1 2023, 1:16 AM Closed by commit rG6aac11bad976: [clang][Interp] Evaluate Base when discarding a MemberExpr (authored by tbaeder).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 545957 clang/lib/AST/Interp/ByteCodeExprGen.cpp
 clang/test/AST/Interp/literals.cpp
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||