[flang-commits] [clang] [flang] [clang][driver] Special care for linker flags in config files (PR #117573)
Fangrui Song via flang-commits
flang-commits at lists.llvm.org
Wed Dec 4 21:55:33 PST 2024
MaskRay wrote:
It's worth spending more time discussing the metacharacter.
`^` can be interpreted as `^` in regex, which means the beginning. `$`, on the other side, suggests the end.
In CCC_OVERRIDE_OPTIONS (clang/lib/Driver/Driver.cpp), `^` is to add an option at the beginning, but there is no `$`. There is `+`, whose meaning is slightly different.
https://github.com/llvm/llvm-project/pull/117573
More information about the flang-commits
mailing list