Ignore paramater declarations of type ::llvm::Twine, These don't suffer the same use after free risks as local twines.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D82281  
[clang-tidy] llvm-twine-local ignores parameters ClosedPublic Authored by njames93 on Jun 21 2020, 2:17 PM. 
Details Summary Ignore paramater declarations of type ::llvm::Twine, These don't suffer the same use after free risks as local twines. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Jun 22 2020, 8:07 AM Closed by commit rG9a8b04114480: [clang-tidy] llvm-twine-local ignores parameters (authored by njames93).  ·  Explain WhyJun 22 2020, 10:45 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 272494 clang-tools-extra/clang-tidy/llvm/TwineLocalCheck.cpp
 clang-tools-extra/test/clang-tidy/checkers/llvm-twine-local.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||