Commit 235841d
authored
### Rationale for this change
LLVM 15 or earlier uses `llvm::Optional` not `std::optional`.
### What changes are included in this PR?
Use `llvm::Optional` with LLVM 15 or earlier.
### Are these changes tested?
Yes, compiling.
### Are there any user-facing changes?
No
* GitHub Issue: #49087
Authored-by: logan.riggs@gmail.com <logan.riggs@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
1 parent 384ea25 commit 235841d
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| 233 | + | |
233 | 234 | | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
234 | 238 | | |
235 | 239 | | |
236 | 240 | | |
| |||
0 commit comments