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 |
Fix one include tree
Definition at line 70 of file add-iwyu.py.
In file pub, mark the include for cg with IWYU pragma: export
Definition at line 45 of file add-iwyu.py.
Set the file-level IWYU pragma in filename
Definition at line 28 of file add-iwyu.py.
Given filename, synthesize what should go in an include statement to get that file
Definition at line 21 of file add-iwyu.py.
tuple add-iwyu.CG_ROOTS_GRPC |
Definition at line 56 of file add-iwyu.py.
list add-iwyu.CG_ROOTS_GRPCPP |
Definition at line 65 of file add-iwyu.py.