[PATCH v2 0/4] diagnostics: libcpp: Overhaul locations for _Pragma tokens

Lewis Hyatt lhyatt@gmail.com
Thu Jan 5 22:36:04 GMT 2023


Hello-

This series contains the four remaining patches in the series originally
sent here:

https://gcc.gnu.org/pipermail/gcc-patches/2022-November/605029.html

which implements improved locations for tokens lexed from a string inside a
_Pragma directive.

v2 1/4: diagnostics: libcpp: Add LC_GEN linemaps to support in-memory buffers

    This was formerly v1 4/6. It has been rewritten in line with that review,
    most recently discussed here:
    https://gcc.gnu.org/pipermail/gcc-patches/2022-November/606616.html

v2 2/4: diagnostics: Handle generated data locations in edit_context

    This was formerly v1 5a/6. It has been approved already conditional on
    v2 1/4 as a prerequisite.

v2 3/4: diagnostics: libcpp: Assign real locations to the tokens inside
        _Pragma strings

    This was formerly v1 6/6 and is unchanged from that one. It has not been
    reviewed yet.

v2 4/4: diagnostics: Support generated data locations in SARIF output

    This was formerly v1 5c/6. It has not been fully reviewed yet.

Thanks for taking a look!

-Lewis


More information about the Gcc-patches mailing list