[Support] Include optional instead of None.h
authorKazu Hirata <kazu@google.com>
Tue, 6 Dec 2022 06:56:24 +0000 (22:56 -0800)
committerKazu Hirata <kazu@google.com>
Tue, 6 Dec 2022 06:56:24 +0000 (22:56 -0800)
commitbc1bdfd6f8122f20c46732fff25216bfe9bfd03b
treeab334625832366b4f8323c990a377aa601978fef
parent1d0ba311d88d02caa6b5e1607047fdb6c909b705
[Support] Include optional instead of None.h

SMLoc uses std::nullopt_t, so it should include optional rather than
None.h.
llvm/include/llvm/Support/SMLoc.h