[clang-tools-extra] [clang-tidy] add default error message for performance-avoid-endl (PR #107867)

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 13 08:15:32 PDT 2024


================
@@ -123,6 +123,10 @@ Changes in existing checks
   <clang-tidy/checks/modernize/use-std-print>` check to support replacing
   member function calls too.
 
+- Improved :doc:`performance-avoid-endl
+  <clang-tidy/checks/performance/avoid-endl>` check to use ``std::endl`` as
+  placeholder when lexer cannot get source text.
----------------
5chmidti wrote:

Sounds better IMO
> as a default when the lexer can not retrieve the source text.

https://github.com/llvm/llvm-project/pull/107867


More information about the cfe-commits mailing list