https://clang.llvm.org/extra/clang-tidy/checks/list.html
https://wiki.sei.cmu.edu/confluence/display/c/2+Rules
Rules | Severity | Likelihood | Cost | Priority | Level | clang-tidy | clang++ | Parasoft C/C++test |
---|
#!/bin/bash | |
mkdir -p /tmp/i2p | |
/bin/rm -rf /tmp/i2p/* | |
find . -type d | xargs -I{} mkdir -p /tmp/i2p/{} | |
find . -type f -name "*.png" | xargs -I{} convert {} -background white -alpha remove -alpha off /tmp/i2p/{} | |
find /tmp/i2p -type f | sed -e 's/.*/\"&\"/g' | sort | xargs img2pdf --output ./out.pdf --auto-orient | |
/bin/rm -rf /tmp/i2p/* |
import ij.*; | |
import ij.gui.*; | |
import ij.measure.*; | |
import ij.plugin.*; | |
import ij.plugin.filter.*; | |
import ij.process.*; | |
import java.awt.*; | |
import java.util.Arrays; | |
public class Custom_Min_Max implements PlugIn { |
#include <iostream> | |
#include <cstdint> | |
// https://clang.llvm.org/extra/clang-tidy/checks/readability/identidifer-naming.html | |
/* .clang-tidy | |
* | |
* Checks: 'readability-identifier-naming' | |
* CheckOptions: | |
* - key: readability-identifier-naming.ClassCase |
#include <chrono> | |
#include <valarray> | |
#include <format> | |
#include <iostream> | |
#include <memory> | |
#include <random> | |
#include <ranges> | |
#include <immintrin.h> | |
#include <omp.h> |
#include <iostream> | |
#include <format> | |
#include <concepts> | |
#include <span> | |
#include <valarray> | |
#include <stdfloat> | |
#include <chrono> | |
#include <memory> | |
#include <new> | |
#include <random> |
#include <bit> | |
#include <cmath> | |
#include <iostream> | |
#include <ranges> | |
#include <format> | |
#include <memory> | |
#include <numbers> | |
#include <chrono> | |
#include <opencv2/opencv.hpp> |
#include <chrono> | |
#include <cstdint> | |
#include <functional> | |
#include <iostream> | |
#include <memory> | |
#include <ranges> | |
#include <string_view> | |
#include <syncstream> | |
#include <thread> |
#include <cassert> | |
#include <numeric> | |
#include <print> | |
#include <cmath> | |
#include <filesystem> | |
#include <ranges> | |
#include <vector> | |
#include <opencv2/opencv.hpp> |
https://clang.llvm.org/extra/clang-tidy/checks/list.html
https://wiki.sei.cmu.edu/confluence/display/c/2+Rules
Rules | Severity | Likelihood | Cost | Priority | Level | clang-tidy | clang++ | Parasoft C/C++test |
---|
$ vcpkg install libusb pthread
$ # set PKG_CONFIG_PATH=%VCPKG_ROOT%\installed\%VCPKG_DEFAULT_HOST_TRIPLET%\lib\pkgconfig
$ cmake -S. -Bbuild -DPKG_CONFIG_EXECUTABLE=C:\Local\src\Vcpkg\downloads\tools\msys2\d33df895d441a36d\mingw64\bin\pkg-config.exe
https://en.eeworld.com.cn/mp/EmbeddedLee/a379948.jspx
diff --git a/cmake/FindLibUSB.cmake b/cmake/FindLibUSB.cmake