Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Unified Diff: tools/clang/move_raw/CMakeLists.txt

Issue 2919243002: Add a clang tool to detect std::move(raw ptr) (Closed)
Patch Set: Add a TODO to make this a clang-tidy check Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « docs/clang_tool_refactoring.md ('k') | tools/clang/move_raw/MoveRaw.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clang/move_raw/CMakeLists.txt
diff --git a/tools/clang/move_raw/CMakeLists.txt b/tools/clang/move_raw/CMakeLists.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3375a5818c53bd81636de1b640350d3dfbf61983
--- /dev/null
+++ b/tools/clang/move_raw/CMakeLists.txt
@@ -0,0 +1,28 @@
+set(LLVM_LINK_COMPONENTS
+ BitReader
+ MCParser
+ Option
+ X86AsmParser
+ X86CodeGen
+ )
+
+add_llvm_executable(move_raw
+ MoveRaw.cpp
+ )
+
+target_link_libraries(move_raw
+ clangAST
+ clangASTMatchers
+ clangAnalysis
+ clangBasic
+ clangDriver
+ clangEdit
+ clangFrontend
+ clangLex
+ clangParse
+ clangSema
+ clangSerialization
+ clangTooling
+ )
+
+cr_install(TARGETS move_raw RUNTIME DESTINATION bin)
« no previous file with comments | « docs/clang_tool_refactoring.md ('k') | tools/clang/move_raw/MoveRaw.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698