Skip to content

Commit 7722205

Browse files
committed
fixup! Reapply "[clang][dataflow] Don't propagate result objects in unevaluated contexts (llvm#90438)"
1 parent af6de53 commit 7722205

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/unittests/Analysis/FlowSensitive/TransferTest.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3435,7 +3435,9 @@ TEST(TransferTest, ResultObjectLocationDontVisitUnevaluatedContexts) {
34353435
typeof(S2{}) Dummy;
34363436
}
34373437
void typeidTarget() {
3438+
#if __has_feature(cxx_rtti)
34383439
typeid(S2{});
3440+
#endif
34393441
}
34403442
void sizeofTarget() {
34413443
sizeof(S2{});

0 commit comments

Comments
 (0)