This revision was automatically updated to reflect the committed changes. Closed by commit rG5233ad17e77e: Compilation Database: Point Bazel users to a solution (authored by nridge).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D114213/new/ https://reviews.llvm.org/D114213 Files: clang/docs/JSONCompilationDatabase.rst Index: clang/docs/JSONCompilationDatabase.rst =================================================================== --- clang/docs/JSONCompilationDatabase.rst +++ clang/docs/JSONCompilationDatabase.rst @@ -36,6 +36,12 @@ For projects on Linux, there is an alternative to intercept compiler calls with a tool called `Bear <https://github.com/rizsotto/Bear>`_. +`Bazel <https://bazel.build>`_ can export a compilation database via +`this extractor extension +<https://github.com/hedronvision/bazel-compile-commands-extractor>`_. +Bazel is otherwise resistant to Bear and other compiler-intercept +techniques. + Clang's tooling interface supports reading compilation databases; see the :doc:`LibTooling documentation <LibTooling>`. libclang and its python bindings also support this (since clang 3.2); see
Index: clang/docs/JSONCompilationDatabase.rst =================================================================== --- clang/docs/JSONCompilationDatabase.rst +++ clang/docs/JSONCompilationDatabase.rst @@ -36,6 +36,12 @@ For projects on Linux, there is an alternative to intercept compiler calls with a tool called `Bear <https://github.com/rizsotto/Bear>`_. +`Bazel <https://bazel.build>`_ can export a compilation database via +`this extractor extension +<https://github.com/hedronvision/bazel-compile-commands-extractor>`_. +Bazel is otherwise resistant to Bear and other compiler-intercept +techniques. + Clang's tooling interface supports reading compilation databases; see the :doc:`LibTooling documentation <LibTooling>`. libclang and its python bindings also support this (since clang 3.2); see
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits