Details
Details
- Reviewers
morehouse
Diff Detail
Diff Detail
- Build Status
Buildable 11225 Build 11225: arc lint + arc unit
Event Timeline
| tools/llvm-special-case-list-fuzzer/special-case-list-fuzzer.cpp | ||
|---|---|---|
| 16 | It is discouraged to store StringRefs unnecessarily. See http://llvm.org/doxygen/classllvm_1_1StringRef.html#details. In this case, you can probably just create the StringRef as an rvalue to the call below. Also prefer static_cast over C-style cast. | |
| 21 | Fuzz targets should not exit. See https://llvm.org/docs/LibFuzzer.html#fuzz-target. Return instead. | |
It is discouraged to store StringRefs unnecessarily. See http://llvm.org/doxygen/classllvm_1_1StringRef.html#details.
In this case, you can probably just create the StringRef as an rvalue to the call below.
Also prefer static_cast over C-style cast.