Objective-C++ is not yet suppoerted.
rdar://76729552
Differential D100955
[-Wcalled-once] Do not run analysis on Obj-C++ vsavchenko on Apr 21 2021, 6:51 AM. Authored by
Details
Objective-C++ is not yet suppoerted. rdar://76729552
Diff Detail
Event TimelineComment Actions Can you say a few words on _why_ this is emitted in only Objective-C? What's missing for Objective-C++? I was surprised that this warning fired in a .m file but not in a .mm file. Comment Actions Technically there is nothing that prevents us from supporting Objective-C++, but the warning implementation will need to handle it correctly. Currently, it doesn't support lambda expressions and C++ exceptions from the top of my head. Probably there are more language constructs that can cause incorrect warnings. Long story short, it needs additional logic and testing. Cheers! |