[PATCH] D151833: Respect "-fdiagnostics-absolute-paths" on emit include location

Charalampos Mitrodimas via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 2 05:39:21 PDT 2023


charmitro added a comment.

In D151833#4390279 <https://reviews.llvm.org/D151833#4390279>, @charmitro wrote:

> In D151833#4386128 <https://reviews.llvm.org/D151833#4386128>, @tbaeder wrote:
>
>> Can you add a test case for the change? Looks like there's something similar already in `clang/test/Frontend/absolute-paths.c`
>
> Is it possible to use substitutions inside let's say `NORMAL: `? How could I resolve the absolute path without hard-coding my path inside the test case?

I was able to make it work using `-DNAME=<value>` in the FileCheck invocation inside `absolute-paths.c` test file.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151833/new/

https://reviews.llvm.org/D151833



More information about the cfe-commits mailing list