[flang-commits] [flang] [flang] Use precompiled parsing headers (PR #130600)

Michael Kruse via flang-commits flang-commits at lists.llvm.org
Mon Mar 10 07:25:36 PDT 2025


================
@@ -13,7 +13,6 @@
 #include "flang/Frontend/CompilerInstance.h"
 #include "flang/Frontend/CompilerInvocation.h"
 #include "flang/Frontend/TextDiagnosticPrinter.h"
-#include "flang/Parser/parsing.h"
----------------
Meinersbur wrote:

What happens with [`CMAKE_DISABLE_PRECOMPILE_HEADERS=ON`](https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_PRECOMPILE_HEADERS.html#variable:CMAKE_DISABLE_PRECOMPILE_HEADERS)?

Also, what happens when compiling with gcc (or any other compiler), then using clangd using `compile_commands.json`?

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


More information about the flang-commits mailing list