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 5bff2a0 commit 7d51fa9Copy full SHA for 7d51fa9
lib/AST/RequirementMachine/RewriteSystem.cpp
@@ -910,5 +910,17 @@ void RewriteSystem::dump(llvm::raw_ostream &out) const {
910
out << "\n";
911
}
912
913
+ if (!WrittenRequirements.empty()) {
914
+ out << "Written requirements: {\n";
915
+
916
+ for (unsigned reqID : indices(WrittenRequirements)) {
917
+ out << " - ID: " << reqID << " - ";
918
+ const auto &requirement = WrittenRequirements[reqID];
919
+ requirement.req.dump(out);
920
+ out << " at ";
921
+ requirement.loc.print(out, Context.getASTContext().SourceMgr);
922
+ out << "\n";
923
+ }
924
925
out << "}\n";
926
0 commit comments