[clang] Turn `-Wdeprecated-literal-operator` on by default (PR #111027)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 11 04:52:22 PDT 2024


AaronBallman wrote:

> > LGTM, please keep an eye out for fallout in the wild though. It may be interesting to see how many instances of `-Wno-deprecated-literal-operator` exist now and do a search again before release to see how many new instances show up.
> 
> Thats a good idea! I did our initial search:
> 
> https://github.com/search?q=Wno-deprecated-literal-operator&type=code
> 
> Looks like 63 total files, 285 issues, 127 PRs, 203 commits.
> 
> So so far, most projects are fixing them appears. We can re-do this search at one point.

Another search:
https://sourcegraph.com/search?q=context:global+Wno-deprecated-literal-operator+lang:Makefile&patternType=keyword&sm=0
https://sourcegraph.com/search?q=context:global+Wno-deprecated-literal-operator+lang:CMake&patternType=keyword&sm=0

So one in a Makefile and and nine across six CMake files.

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


More information about the cfe-commits mailing list