[llvm] [llvm] annotate interfaces in llvm/Support for DLL export (PR #136014)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue May 6 00:29:53 PDT 2025
================
@@ -29,64 +30,64 @@ namespace llvm {
/// option, it will set the string to an error message if an error occurs, or
/// if the files are different.
///
- int DiffFilesWithTolerance(StringRef FileA,
- StringRef FileB,
- double AbsTol, double RelTol,
- std::string *Error = nullptr);
-
-
- /// FileRemover - This class is a simple object meant to be stack allocated.
- /// If an exception is thrown from a region, the object removes the filename
- /// specified (if deleteIt is true).
- ///
- class FileRemover {
- SmallString<128> Filename;
- bool DeleteIt;
- public:
- FileRemover() : DeleteIt(false) {}
-
- explicit FileRemover(const Twine& filename, bool deleteIt = true)
+LLVM_ABI int DiffFilesWithTolerance(StringRef FileA, StringRef FileB,
----------------
nikic wrote:
Comment indent is out of sync now.
Again, I think this should be reformatted ahead of time.
https://github.com/llvm/llvm-project/pull/136014
More information about the llvm-commits
mailing list