[PATCH] D139122: Generalize clang-tidy modernize-pass-by-value

Chris Cotter via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 5 20:40:55 PST 2023


ccotter added inline comments.


================
Comment at: clang-tools-extra/clang-tidy/modernize/PassByValueCheck.cpp:11
+#include "../utils/Aliasing.h"
+#include "../utils/ExprSequence.h"
 #include "clang/AST/ASTContext.h"
----------------
I think you need to add `clangAnalysis` (for Analysis/CFG.h) to the link libraries in modernize/CMakeLists.txt.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139122/new/

https://reviews.llvm.org/D139122



More information about the cfe-commits mailing list