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 dced1ca commit cb31700Copy full SHA for cb31700
lib/PrintAsClang/_SwiftCxxInteroperability.h
@@ -217,7 +217,7 @@ struct SymbolicP {
217
uint8_t _4;
218
} __attribute__((packed));
219
220
-inline const void *_Nullable testErrorCall() {
+inline const void *_Nullable getErrorMetadata() {
221
static swift::SymbolicP errorSymbol;
222
static int *_Nonnull got_ss5ErrorMp = &$ss5ErrorMp;
223
errorSymbol._1 = 2;
@@ -257,7 +257,7 @@ class Error {
257
template<class T>
258
T as() {
259
alignas(alignof(T)) char buffer[sizeof(T)];
260
- const void *em = testErrorCall();
+ const void *em = getErrorMetadata();
261
void *ep = getPointerToOpaquePointer();
262
auto metadata = swift::TypeMetadataTrait<T>::getTypeMetadata();
263
0 commit comments