[bazel] Enable layering_check for llvm and clang
Similar to D113952 for mlir. I have added many missing dependencies so that `bazel-5.0.0 build --config=generic_clang --features=layering_check @llvm-project//llvm:all @llvm-project//clang:all` works now. Enable the feature to ensure layering and catch circular dependencies (https://llvm.org/docs/CodingStandards.html#library-layering). Reviewed By: GMNGeoffrey, rupprecht Differential Revision: https://reviews.llvm.org/D141553
parent
d6e04ba2
Please register or sign in to comment