__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
Event Timeline
lib/Sema/SemaDeclCXX.cpp | ||
---|---|---|
2871 | Note: Clang format did this craziness... I'm open to whatever format you guys would prefer. |
Comment Actions
lgtm
lib/Sema/SemaDeclCXX.cpp | ||
---|---|---|
2871 | 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; ... |
Note: Clang format did this craziness... I'm open to whatever format you guys would prefer.