[clang] [InstallAPI] Hookup Input files & basic ASTVisitor (PR #82552)

Juergen Ributzka via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 21 15:56:21 PST 2024


================
@@ -24,8 +27,23 @@ struct InstallAPIContext {
   /// Library attributes that are typically passed as linker inputs.
   llvm::MachO::RecordsSlice::BinaryAttrs BA;
 
-  /// Active target triple to parse.
-  llvm::Triple TargetTriple{};
+  /// All headers that represent library.
+  HeaderSeq InputHeaders;
+
+  /// Active language mode to parse in.
+  Language LangMode = Language::ObjC;
+
+  /// Active header access type.
+  HeaderType Type = HeaderType::Unknown;
+
+  /// Active TargetSlice for symbol record collection.
+  std::shared_ptr<llvm::MachO::RecordsSlice> Records;
+
+  /// FileManager for all I/O operations.
+  FileManager *FM = nullptr;
+
+  /// FileManager for all I/O operations.
----------------
ributzka wrote:

This should be the DiagnosticEngine

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


More information about the cfe-commits mailing list