clang-refactor | early attempt to write a refactor for c and c programs
kandi X-RAY | clang-refactor Summary
kandi X-RAY | clang-refactor Summary
clang-refactor is a C++ library. clang-refactor has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.
![screen cast of a vi session using clang-refactor] screencast.gif).
![screen cast of a vi session using clang-refactor] screencast.gif).
Support
Quality
Security
License
Reuse
Support
clang-refactor has a low active ecosystem.
It has 29 star(s) with 2 fork(s). There are 7 watchers for this library.
It had no major release in the last 12 months.
There are 1 open issues and 0 have been closed. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of clang-refactor is v0.2-alpha
Quality
clang-refactor has no bugs reported.
Security
clang-refactor has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
clang-refactor does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
clang-refactor releases are available to install and integrate.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of clang-refactor
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of clang-refactor
clang-refactor Key Features
No Key Features are available at this moment for clang-refactor.
clang-refactor Examples and Code Snippets
No Code Snippets are available at this moment for clang-refactor.
Community Discussions
No Community Discussions are available at this moment for clang-refactor.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install clang-refactor
If a recent clang or llvm is installed one can now compile clang-refactor without the need to have a llvm+clang+clang-tools-extra tree. Checkout the standalone branch of this repos and run cmake. Tested on - Gentoo (clang 3.5.0 and 3.6.0) - Manjaro (clang 3.5.0) - had to symlink libncurses to tinfo (ln -s /usr/lib/libncurses.so.5 /usr/lib/libtinfo.so) - LMDE (clang 3.5.0) - sice you can’t get clang 3.5.0 from the standard sources. add : - deb http://llvm.org/apt/unstable/ llvm-toolchain-3.5 main - deb-src http://llvm.org/apt/unstable/ llvm-toolchain-3.5 main - deb http://ftp.de.debian.org/debian testing main - install clang3.5 and libclang-3.5-dev - set CPATH to /usr/lib/llvm-3.5/include - set LIBRAR_PATH to /usr/lib/llvm-3.5/lib/. In a stable llvm+clang+extra-tools build do. and add add_subdirectory(clang-refactor) to ${LLVM_ROOT}/tools/clang/tools/extra/CMakeLists.txt this will add the refactor to the build chain. Now go to ${LLVM_BUILD_DIR} and run make ( to speed it up make -j ${number_of_threads} ) the executable will go to ${LLVM_BUILD_DIR}/bin. I did not try, but running sudo make install should install this on your system. If you did not install, remember to put ${LLVM_BUILD_DIR}/bin into your PATH.
Just as clang-modernize the program needs a compile_commands.json file. The easiest way to generate one is to use cmake. Simply add SET(CMAKE_EXPORT_COMPILE_COMMANDS ON) to your CMakeLists.txt.
Just as clang-modernize the program needs a compile_commands.json file. The easiest way to generate one is to use cmake. Simply add SET(CMAKE_EXPORT_COMPILE_COMMANDS ON) to your CMakeLists.txt.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page