mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "[NFC] Fix incorrect comment in ExtInfo's constructor."
This reverts commit f07ba79377.
This commit is contained in:
@@ -2969,7 +2969,7 @@ public:
|
|||||||
static void assertIsFunctionType(const clang::Type *);
|
static void assertIsFunctionType(const clang::Type *);
|
||||||
|
|
||||||
ExtInfo(unsigned Bits, Uncommon Other) : Bits(Bits), Other(Other) {
|
ExtInfo(unsigned Bits, Uncommon Other) : Bits(Bits), Other(Other) {
|
||||||
// TODO: [clang-function-type-serialization] Once we start serializing
|
// TODO: [store-sil-clang-function-type] Once we start serializing
|
||||||
// the Clang type, we should also assert that the pointer is non-null.
|
// the Clang type, we should also assert that the pointer is non-null.
|
||||||
auto Rep = Representation(Bits & RepresentationMask);
|
auto Rep = Representation(Bits & RepresentationMask);
|
||||||
if ((Rep == Representation::CFunctionPointer) && Other.ClangFunctionType)
|
if ((Rep == Representation::CFunctionPointer) && Other.ClangFunctionType)
|
||||||
|
|||||||
Reference in New Issue
Block a user