Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libc/include/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ add_header_macro(
.llvm-libc-types.ENTRY
.llvm-libc-types.struct_hsearch_data
.llvm-libc-types.size_t
.llvm-libc-types.VISIT
.llvm-libc-types.__lsearchcompare_t
)

Expand Down
1 change: 1 addition & 0 deletions libc/include/llvm-libc-types/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ add_header(struct_iovec HDR struct_iovec.h DEPENDS .size_t)
add_header(struct_msghdr HDR struct_msghdr.h DEPENDS .size_t .socklen_t .struct_iovec)
add_header(ACTION HDR ACTION.h)
add_header(ENTRY HDR ENTRY.h)
add_header(VISIT HDR VISIT.h)
add_header(struct_hsearch_data HDR struct_hsearch_data.h)
add_header(struct_epoll_event HDR struct_epoll_event.h)
add_header(struct_epoll_data HDR struct_epoll_data.h)
Expand Down
14 changes: 14 additions & 0 deletions libc/include/llvm-libc-types/VISIT.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//===-- Definition of VISIT type ------------------------------------------===//
//
// Part of the LLVM Project, 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
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_LIBC_TYPES_VISIT_H
#define LLVM_LIBC_TYPES_VISIT_H

typedef enum { preorder, postorder, endorder, leaf } VISIT;

#endif // LLVM_LIBC_TYPES_VISIT_H
1 change: 1 addition & 0 deletions libc/include/search.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ types:
- type_name: struct_hsearch_data
- type_name: ENTRY
- type_name: ACTION
- type_name: VISIT
- type_name: __lsearchcompare_t
enums: []
objects: []
Expand Down
Loading