aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorRamkumar Ramachandra <r@artagnon.com>2022-12-14 11:39:19 +0100
committerRamkumar Ramachandra <r@artagnon.com>2022-12-17 11:13:26 +0100
commit22426110c5ef329d9ff40212cd8e589b5c132667 (patch)
treefdb4b6642d99a28c43e0f9ec9209960f7e437397 /clang/lib/Lex/ModuleMap.cpp
parenta0f168fa899de7c22a2367f799d04a05c982bf79 (diff)
downloadllvm-22426110c5ef329d9ff40212cd8e589b5c132667.zip
llvm-22426110c5ef329d9ff40212cd8e589b5c132667.tar.gz
llvm-22426110c5ef329d9ff40212cd8e589b5c132667.tar.bz2
mlir/tblgen: use std::optional in generation
This is part of an effort to migrate from llvm::Optional to std::optional. This patch changes the way mlir-tblgen generates .inc files, and modifies tests and documentation appropriately. It is a "no compromises" patch, and doesn't leave the user with an unpleasant mix of llvm::Optional and std::optional. A non-trivial change has been made to ControlFlowInterfaces to split one constructor into two, relating to a build failure on Windows. See also: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716 Signed-off-by: Ramkumar Ramachandra <r@artagnon.com> Differential Revision: https://reviews.llvm.org/D138934
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions