Commit 943c704
authored
[flang] Support #if defined when no definitions (llvm#156080)
The "defined" operator isn't working in #if/#elif expressions when there
are no defined macros. Fix.1 parent 3f6768c commit 943c704
File tree
2 files changed
+11
-1
lines changed- flang
- lib/Parser
- test/Preprocessing
2 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
| 417 | + | |
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments