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.
2 parents 547fdaa + 2b9e481 commit ffc0f6fCopy full SHA for ffc0f6f
lib/IRGen/MetadataRequest.h
@@ -372,6 +372,18 @@ class MetadataResponse {
372
static llvm::Constant *getCompletedState(IRGenModule &IGM);
373
};
374
375
+inline llvm::raw_ostream &operator<<(llvm::raw_ostream &OS,
376
+ const MetadataResponse &MR) {
377
+ if (!MR.isValid())
378
+ return OS;
379
+ OS << MR.getMetadata();
380
+ if (MR.hasDynamicState())
381
+ OS << MR.getDynamicState();
382
+ // FIXME
383
+ // OS << MR.getStaticLowerBoundOnState();
384
385
+}
386
+
387
inline bool
388
DynamicMetadataRequest::isSatisfiedBy(MetadataResponse response) const {
389
return isSatisfiedBy(response.getStaticLowerBoundOnState());
0 commit comments