================ @@ -39,20 +39,22 @@ class Decorator : public SanitizerCommonDecorator { }; } // namespace +const char *GetErrorTypeStr(const DiagnosticsInfo &info) { ---------------- davidtrevelyan wrote: Shouldn't this function be declared `static`? https://github.com/llvm/llvm-project/pull/116424