| Issue |
168526
|
| Summary |
Inconsistent line numbers between __LINE__ and clang SourceLocation
|
| Labels |
clang
|
| Assignees |
|
| Reporter |
glugalug
|
For multi-line macros, the SourceLocation of symbols generated by the macro expansion in the clang AST is the first line of the macro. But `__LINE__` is expanding to the line number of the last line of it.
Should these be the same?
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs