We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00e7308 commit df638c2Copy full SHA for df638c2
llvm/include/llvm/Demangle/ItaniumDemangle.h
@@ -445,6 +445,14 @@ class EnableIfAttr : public Node {
445
}
446
};
447
448
+#ifdef _MSC_VER
449
+// Workaround for MSVC++ bug (Version 2017, 15.8.9) - w/o this forward
450
+// declaration, the friend declaration in ObjCProtoName below has no effect
451
+// and leads to compilation error when ObjCProtoName::Protocol private field
452
+// is accessed in PointerType::printLeft.
453
+class PointerType;
454
+#endif // _MSC_VER
455
+
456
class ObjCProtoName : public Node {
457
const Node *Ty;
458
StringView Protocol;
0 commit comments