[PATCH] D124341: [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice.
Mikael Holmén via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 9 23:21:44 PDT 2022
uabelho added a comment.
Hi,
I noticed that this patch isn't NFC.
If I run
clang-tidy -checks='*' empty.c --
on an empty file empty.c I get the following printouts with this patch:
'addr=address'
'arr=array'
'attr=attribute'
'buf=buffer'
'cl=client'
'cnt=count'
'col=column'
'cpy=copy'
'dest=destination'
'dist=distancedst=distance'
'elem=element'
'hght=height'
'i=index'
'idx=index'
'len=length'
'ln=line'
'lst=list'
'nr=number'
'num=number'
'pos=position'
'ptr=pointer'
'ref=reference'
'src=source'
'srv=server'
'stmt=statement'
'str=string'
'val=value'
'var=variable'
'vec=vector'
'wdth=width'
but without this patch it's completely silent.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124341/new/
https://reviews.llvm.org/D124341
More information about the cfe-commits
mailing list