__interface types are allowed in MSVC to have "property" data members
(marked with declspec property). This patch alters Sema to allow property
data members.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Sema/SemaDeclCXX.cpp | ||
---|---|---|
2871 ↗ | (On Diff #116046) | Note: Clang format did this craziness... I'm open to whatever format you guys would prefer. |
Comment Actions
lgtm
lib/Sema/SemaDeclCXX.cpp | ||
---|---|---|
2871 ↗ | (On Diff #116046) | Maybe this would be better expressed in an if /else if chain like: if (!isFunc && (DS.getStorageClassSpec() == SCS_typedef || MSPropertyAttr)) InvalidDecl = 0; else if (!isFunc) InvalidDecl = 1; ... |