Author: Alexis Engelke
Date: 2026-03-05T15:49:35Z
New Revision: 88b62b03c671b476ff1389fcd4288a695684a122

URL: 
https://github.com/llvm/llvm-project/commit/88b62b03c671b476ff1389fcd4288a695684a122
DIFF: 
https://github.com/llvm/llvm-project/commit/88b62b03c671b476ff1389fcd4288a695684a122.diff

LOG: [ClangIncludeCleaner] Disable PCH (#184809)

Workaround a Clang bug w.r.t. instantiation of inline functions.

See: https://github.com/llvm/llvm-project/issues/184559.

Added: 
    

Modified: 
    clang-tools-extra/include-cleaner/lib/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/include-cleaner/lib/CMakeLists.txt 
b/clang-tools-extra/include-cleaner/lib/CMakeLists.txt
index 7ad5325f6026d..bb92f468027ca 100644
--- a/clang-tools-extra/include-cleaner/lib/CMakeLists.txt
+++ b/clang-tools-extra/include-cleaner/lib/CMakeLists.txt
@@ -12,6 +12,9 @@ add_clang_library(clangIncludeCleaner STATIC
 
   DEPENDS
   ClangDriverOptions
+
+  # Workaround for Clang bug: 
https://github.com/llvm/llvm-project/issues/184559
+  DISABLE_PCH_REUSE
   )
 
 clang_target_link_libraries(clangIncludeCleaner


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to