[Git][ghc/ghc][master] Add clangd flag to include generated header files

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Tue Feb 14 16:26:48 UTC 2023



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
16adc349 by Sven Tennie at 2023-02-14T11:26:31-05:00
Add clangd flag to include generated header files

This enables clangd to correctly check C files that import Rts.h.
(The added include directory contains ghcautoconf.h et. al.)

- - - - -


1 changed file:

- compile_flags.txt


Changes:

=====================================
compile_flags.txt
=====================================
@@ -2,4 +2,4 @@
 -Irts
 -Irts/include
 -I.hie-bios/stage0/lib
-
+-I_build/stage1/rts/build/include/



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/16adc349b7f1d7185a74eedc2e3e3d0cffa5db84

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/16adc349b7f1d7185a74eedc2e3e3d0cffa5db84
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230214/3ab497c0/attachment.html>


More information about the ghc-commits mailing list