Skip to content

Commit

Permalink
[gn build] assert clang-format does not depend on AST, Frontend, Sema…
Browse files Browse the repository at this point in the history
… at gn time

To catch things like https://reviews.llvm.org/D69854 and
https://reviews.llvm.org/D89708 earlier next time they happen.
  • Loading branch information
nico committed Oct 20, 2020
1 parent f67edf5 commit 853553f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions llvm/utils/gn/secondary/clang/tools/clang-format/BUILD.gn
Expand Up @@ -7,5 +7,10 @@ executable("clang-format") {
"//clang/lib/Tooling/Core",
"//llvm/lib/Support",
]
assert_no_deps = [
"//clang/lib/AST/",
"//clang/lib/Frontend/",
"//clang/lib/Sema/",
]
sources = [ "ClangFormat.cpp" ]
}

0 comments on commit 853553f

Please sign in to comment.