[clang] [clang][InstallAPI] Introduce basic driver to write out tbd files (PR #81571)

Juergen Ributzka via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 13 13:47:25 PST 2024


================
@@ -94,6 +94,7 @@ TYPE("lto-bc",                   LTO_BC,       INVALID,         "o",      phases
 TYPE("ast",                      AST,          INVALID,         "ast",    phases::Compile, phases::Backend, phases::Assemble, phases::Link)
 TYPE("ifs",                      IFS,          INVALID,         "ifs",    phases::IfsMerge)
 TYPE("ifs-cpp",                  IFS_CPP,      INVALID,         "ifs",    phases::Compile, phases::IfsMerge)
+TYPE("tbd",                      TextAPI,      INVALID,         "tbd",    phases::Compile)
----------------
ributzka wrote:

I think `phases::Precompile` should be sufficient to walk the AST and record all the API information.

https://github.com/llvm/llvm-project/pull/81571


More information about the cfe-commits mailing list