================ @@ -1429,19 +1429,33 @@ inline const StreamingDiagnostic &operator<<(const StreamingDiagnostic &DB, return DB; } +inline constexpr uint64_t DiagnosticIntegerSeparatorThreshold = 100'000; + +inline std::string formatDiagnosticInteger(const llvm::APInt &Val, ---------------- Sirraide wrote:
I feel like the implementation of this should go in a `.cpp` file as it’s getting a bit long https://github.com/llvm/llvm-project/pull/211785 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
