I would like to use clan-tidy. The program should check if I do have header guards, which is why I set the flag llvm-header-guard
. Unfortunately this checks if the header guards are llvm-style, which I don't want. I want to use #pragma once
.
Does anyone have an idea how to tell clang-tidy to check for #pragma once
instead of llvm-style header guards?