Functions | Variables
add-iwyu Namespace Reference

Functions

def fix_tree (tree, cg_roots)
 
def set_exports (pub, cg)
 
def set_pragmas (filename, pragmas)
 
def to_inc (filename)
 

Variables

tuple CG_ROOTS_GRPC
 
list CG_ROOTS_GRPCPP
 

Function Documentation

◆ fix_tree()

def add-iwyu.fix_tree (   tree,
  cg_roots 
)
Fix one include tree

Definition at line 70 of file add-iwyu.py.

◆ set_exports()

def add-iwyu.set_exports (   pub,
  cg 
)
In file pub, mark the include for cg with IWYU pragma: export

Definition at line 45 of file add-iwyu.py.

◆ set_pragmas()

def add-iwyu.set_pragmas (   filename,
  pragmas 
)
Set the file-level IWYU pragma in filename

Definition at line 28 of file add-iwyu.py.

◆ to_inc()

def add-iwyu.to_inc (   filename)
Given filename, synthesize what should go in an include statement to get that file

Definition at line 21 of file add-iwyu.py.

Variable Documentation

◆ CG_ROOTS_GRPC

tuple add-iwyu.CG_ROOTS_GRPC
Initial value:
1 = (
2  (r'sync', 'grpc/support/sync.h', False),
3  (r'atm', 'grpc/support/atm.h', False),
4  (r'grpc_types', 'grpc/grpc.h', True),
5  (r'gpr_types', 'grpc/grpc.h', True),
6  (r'compression_types', 'grpc/compression.h', True),
7  (r'connectivity_state', 'grpc/grpc.h', True),
8 )

Definition at line 56 of file add-iwyu.py.

◆ CG_ROOTS_GRPCPP

list add-iwyu.CG_ROOTS_GRPCPP
Initial value:
1 = [
2  (r'status_code_enum', 'grpcpp/support/status.h', False),
3 ]

Definition at line 65 of file add-iwyu.py.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:57