================
@@ -50,6 +50,15 @@ namespace clang {
 class SarifDocumentWriter;
 class SourceManager;
 
+struct SarifVersion {
+  StringRef SchemaVersion;
+  StringRef CommandLineVersion;
+  StringRef SchemaURI;
+  bool IsDefault;
+
+  bool isDefault() const { return IsDefault; }
----------------
dbartol wrote:

Oh, that function was left over from something I was trying with 
`llvm::find_singleton`. I've removed it and just stuck with `std::mem_fn` on 
the variable.


https://github.com/llvm/llvm-project/pull/185201
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to