<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/54063>54063</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[AST] Strange SourceRange for expanded from macro varDecl
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
denzor200
</td>
</tr>
</table>
<pre>
**Example**
https://godbolt.org/z/qGT7388Ws
**What i see**
```
<source>:10:34: note: "root" binds here
BOOST_FOREACH( IDENTITY_TYPE(std::map<int,int>) m, list_of_maps ) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
**What i expect(*)**
```
<source>:10:34: note: "root" binds here
BOOST_FOREACH( IDENTITY_TYPE(std::map<int,int>) m, list_of_maps ) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
(* Just like https://godbolt.org/z/anz7vKfdr)
I suppose this is an AST bug.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzVU1GP0zAM_jXpS8SUJd3aPfRhu3UwkBi6VTrd05Q27lpom5Kk47hfj5vd6cZA8HRIRK4TO6796bOTa_U9IXyJkj7Itm_gbBC2JmxZOddbItCxQTlqlevGTbQ5ovWI39e3WSTi-M6ew5-0T3BXSUdrauGnhGTOnuRsihurB1MAESmWmTJUIkRFO-1g3AnnRmuHG83rTllagYHzzxTXarfbZ4fN7jZd3rwjPKbbdfox22b3h-z-U4oO69SIXyxb2WO1usNUXmNBvqAtWrSprTvo8oAhlo5eEq1eSpAofRWZvU7a38pld6468GvL4KGHAmmKvXfxn7fvav0j2v9AuOeV0veDdQj9C9C_PTLZPUanD6UyYzMuEm-pHfpeW6Cuqi1FkR1d7jOaD8fJZWCgEqEWYiEDV7sGEjJbYRiZreneGdkdge59F2_9udRmHAHZKVC0NLqlrSyMpidp1lA0wWCa5Apy7aohnxQa27FpmtPz9qY3-rMfpU1t7QAWD7OQzUVQJUxxoVQuoRSMQzSdl3EMBS-jsoB4uoCgkTk0dsSKw9PBN-pT4BlxB3XCGR8lnEZ8zviEybiUoQyFYujhjIQMWlk3kxHHyGVgEg8JubF4Oc6MfbmU1tbHDjw1Y345uEqbREH3qA1nLPDFEw_-B_JiYkg">