blob: 2fe91d8884f1aa7f27f0c570db2537ef14d07e53 [file] [log] [blame]
# Copyright 2020 The IREE Authors
#
# Licensed under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
load("//build_tools/bazel:tblgen.bzl", "gentbl_cc_library")
def iree_tablegen_doc(*args, **kwargs):
"""iree_tablegen_doc() generates documentation from a table definition file.
This is a simple wrapper over gentbl() so we can differentiate between
documentation and others. See gentbl() for details regarding arguments.
"""
# TODO(gcmn): consider using gentbl_filegroup instead
gentbl_cc_library(*args, **kwargs)