This will be enabled if relative vtables are enabled.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Frontend/InitPreprocessor.cpp | ||
---|---|---|
1127 ↗ | (On Diff #285464) | Should we be using some __has_feature(...) instead? |
clang/lib/Frontend/InitPreprocessor.cpp | ||
---|---|---|
1127 ↗ | (On Diff #285464) | This should also test LangOpts.CplusPlus so it's never defined in C compilation. I don't know what precedents there are to follow for how to choose the exact name here. |
clang/lib/Frontend/InitPreprocessor.cpp | ||
---|---|---|
1127 ↗ | (On Diff #285464) | That does seem like a very good fit here, and really easy to use with just one line in Features.def AFAICT. |
CC @aaron.ballman who committed Features.def for signing off or knowing someone who can sign off.
*ping* @aaron.ballman. Would you be able to sign off on this? Otherwise, I'll probably commit this in the next few days.
This LGTM, but I agree someone should sign off on whether __has_feature is the right approach here. @aaron.ballman ?