NoQ accepted this revision.
NoQ added a comment.
This revision is now accepted and ready to land.
> find clang/ -type f -exec sed -i
> 's/std::shared_ptr<PathDiagnosticPiece>/PathDiagnosticPieceRef/g' {} \;
> git diff -U3 --no-color HEAD^ | clang-format-diff -p1 -i
All you need to know about the state of C++ refactoring tools.
================
Comment at:
clang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h:449
-class PathPieces : public std::list<std::shared_ptr<PathDiagnosticPiece>> {
+using PathDiagnosticPieceRef = std::shared_ptr<PathDiagnosticPiece>;
+
----------------
Mmm, why do we need to define this twice?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65381/new/
https://reviews.llvm.org/D65381
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits