<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/56363>56363</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            libc++: source_location not implemented
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          jgcodes2020
      </td>
    </tr>
</table>

<pre>
    Most of the implementation is trivial, and I'd like to submit a PR for it. However, there are two approaches to `std::source_location::current()`:
- `std::source_location::current()` has 4 default arguments set to `__builtin_FILE()`, etc.
- builtins are added that return the call site of the function that called `std::source_location::current()`

I'd like to see an answer from developers working on libc++ before I consider submitting.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVUtuOozAM_Rp4sQbRAKV94GEuW22lXWm1P1DlYiAzgVRx0mr_fg2dqtK8jWQIxD4559hR3vzrfnuK4HuII4Kdzg4nnKOM1s9gCWKwFytdJl5BzgaOmWgNOPuBED1QUpONIOHPX-h9ABsL-OmveMGwAPjEgCD5iVcP8nwOXuoRaYFm25KiyapnDvIpaDw5r1fa26ZOIbCQTOwysefqZbd8y8rnp-9jYZQENRjsZXKsNwxpMUlAGD_FnE4qWRftfDocf_14sLINjLq4U38W0epKGoOGXcoIAWMK89pDLZ0DshHvTe3TrNd2rpVLmlHf978quL2_TAFZysxBVwzQBz-x0ws6f8ZAcPXhw84DML-zSmfihQMU8rwQjqD9TNYw7jZL9jYUuekqs6_2Mo82OuweONYFX9TC7OPj3qDJU3DdGOOZFh_iwDHYOCZVaD_xj3OX-_LEF-IdNXs8WKKExB_NttpW-dgZWTXbstlvsZWi0VpVlVBNLVEYKXW9z51U6KjLmpesecttJ0ohyrasNm3dlrvCoNr0dat226bcNLLN6hInaV2xEBc-DHnoVg0qDcRJZynSIymJ7DAj3s-XKY4-dO-D9gaJucp8ldytev8DpMASXA">