mirror of
https://github.com/AdaCore/gnat-llvm.git
synced 2026-02-12 13:05:32 -08:00
Use the integrated preprocessor in Ada and the standard C++ preprocessor to support both LLVM 16 and 19. The Makefile obtains the version from llvm-config; it forwards it to gprbuild via a scenario variable; gprbuild configures the preprocessor symbol LLVM_Version_Major accordingly, so that Ada code can use it for conditional compilation just like we use LLVM_VERSION_MAJOR in C++. Issue: eng/toolchain/llvm-project#17
4 lines
107 B
Plaintext
4 lines
107 B
Plaintext
* -c
|
|
-- Preprocess all files, but instead of deleting disabled lines turn them into
|
|
-- special comments.
|