swift
c73ecd02 - [NFC] BitwiseCopyable: Use getKnownProtocolKind.

Commit
1 year ago
[NFC] BitwiseCopyable: Use getKnownProtocolKind. Rather than getting ahold of the BitwiseCopyable protocol and doing a pointer comparison to another ProtocolDecl, check whether the latter's known protocol kind is ::BitwiseCopyable.
Author
Committer
Parents
  • lib/Sema
    • File
      TypeCheckDecl.cpp