[clang] [InstallAPI] Pick up input headers by directory traversal (PR #94508)

Juergen Ributzka via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 8 14:38:20 PDT 2024


================
@@ -97,6 +97,14 @@ class HeaderFile {
                                           Other.Excluded, Other.Extra,
                                           Other.Umbrella);
   }
+
+  bool operator<(const HeaderFile &Other) const {
----------------
ributzka wrote:

Including the umbrella header first increases the likelihood of successfully parsing all the headers in the framework. Extra headers always go last.

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


More information about the cfe-commits mailing list