================
@@ -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; }
----------------
steakhal wrote:

This function is kind of overkill. Remember, one can pass the address of a 
non-static data member to `std::mem_fn` despite its suffixed with `_fn`. I 
know, it's weird.

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