Commit 04d38f3
committed
[clang] Provide to
Restore the behavior existing prior to fe2eefc.
Make reporting of unevaluated directive source range more consistent and
with fewer assumptions. In case of a failed evaluation don't assume any
specific token and don't assume correct `PPValue` range tracking.PPCallbacks full expression range even in single file parse mode.1 parent 692f832 commit 04d38f3
File tree
2 files changed
+25
-7
lines changed- clang
- lib/Lex
- unittests/Lex
2 files changed
+25
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
903 | 903 | | |
904 | 904 | | |
905 | 905 | | |
906 | | - | |
907 | 906 | | |
908 | | - | |
| 907 | + | |
909 | 908 | | |
910 | 909 | | |
911 | 910 | | |
| |||
916 | 915 | | |
917 | 916 | | |
918 | 917 | | |
919 | | - | |
| 918 | + | |
920 | 919 | | |
921 | 920 | | |
922 | 921 | | |
| |||
948 | 947 | | |
949 | 948 | | |
950 | 949 | | |
951 | | - | |
952 | | - | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
953 | 954 | | |
954 | 955 | | |
955 | 956 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
248 | 247 | | |
249 | 248 | | |
250 | 249 | | |
| |||
569 | 568 | | |
570 | 569 | | |
571 | 570 | | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
572 | 589 | | |
573 | 590 | | |
574 | 591 | | |
0 commit comments