object-introspection/types/thrift_isset_type.toml
Jake Hillion 4c6f232766 containers: add required features (#374)
Summary:
Adds the option for required features to container definitions. These cause the container not to be passed to `DrgnParser` if that feature is not enabled during code generation. The thrift isset type does not currently work with `tree-builder-v2` and only provides benefit with `capture-thrift-isset`. This change makes sure the container is ignored if it won't be useful, allowing code generation under `tree-builder-v2`.


Test Plan: - CI

Differential Revision: D49960512

Pulled By: JakeHillion
2023-10-09 17:50:39 -04:00

27 lines
494 B
TOML

[info]
type_name = "apache::thrift::detail::isset_bitset"
ctype = "THRIFT_ISSET_TYPE"
header = "thrift/lib/cpp2/gen/module_types_h.h"
required_features = ["capture-thrift-isset"]
# Old:
typeName = "apache::thrift::detail::isset_bitset<"
ns = ["apache::thrift::detail::isset_bitset"]
numTemplateParams = 2
replaceTemplateParamIndex = []
[codegen]
decl = """
// DummyDecl %1%
"""
func = """
// DummyFunc %1%
"""
handler = """
// DummyHandler %1%
"""
traversal_func = """
return returnArg;
"""