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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to