Skip to content

Use clang-tidy to check cpp files #11027

@xinghuayu007

Description

@xinghuayu007

Description

Use clang-tidy to check cpp files to make code robot.

  1. Install clang-tidy tool
    Download the tool from: https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.8/clang+llvm-18.1.8-x86_64-linux-gnu-ubuntu-18.04.tar.xz
  2. Compile the code
    bash dev/builddeps-veloxbe.sh
  3. run clang-tidy check script
    python3 cpp/run-clang-tidy.py --fix fix --build-dir cpp/build/ --project-root /app/incubator-gluten

Gluten version

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions