[all-commits] [llvm/llvm-project] 4d4d47: [flang] Add #include <optional> (NFC)
kazutakahirata via All-commits
all-commits at lists.llvm.org
Sat Jan 7 20:56:01 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4d4d4785e00824b8f4824d09126547379d5a2093
https://github.com/llvm/llvm-project/commit/4d4d4785e00824b8f4824d09126547379d5a2093
Author: Kazu Hirata <kazu at google.com>
Date: 2023-01-07 (Sat, 07 Jan 2023)
Changed paths:
M flang/include/flang/Lower/BoxAnalyzer.h
M flang/include/flang/Lower/ComponentPath.h
M flang/include/flang/Lower/ConvertCall.h
M flang/include/flang/Lower/ConvertExpr.h
M flang/include/flang/Lower/CustomIntrinsicCall.h
M flang/include/flang/Lower/IntrinsicCall.h
M flang/include/flang/Lower/IterationSpace.h
M flang/include/flang/Lower/SymbolMap.h
M flang/include/flang/Optimizer/Builder/FIRBuilder.h
M flang/include/flang/Optimizer/Builder/HLFIRTools.h
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Lower/ConvertCall.cpp
M flang/lib/Lower/ConvertExpr.cpp
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Lower/ConvertVariable.cpp
M flang/lib/Lower/CustomIntrinsicCall.cpp
M flang/lib/Lower/HostAssociations.cpp
M flang/lib/Lower/IO.cpp
M flang/lib/Lower/IntrinsicCall.cpp
M flang/lib/Lower/IterationSpace.cpp
M flang/lib/Lower/Mangler.cpp
M flang/lib/Lower/Runtime.cpp
M flang/lib/Lower/SymbolMap.cpp
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
M flang/lib/Optimizer/Support/InternalNames.cpp
M flang/lib/Optimizer/Transforms/AffinePromotion.cpp
M flang/lib/Optimizer/Transforms/MemRefDataFlowOpt.cpp
M flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
Log Message:
-----------
[flang] Add #include <optional> (NFC)
This patch adds #include <optional> to those files containing
llvm::Optional<...> or Optional<...>.
I'll post a separate patch to actually replace llvm::Optional with
std::optional.
This is part of an effort to migrate from llvm::Optional to
std::optional:
https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
More information about the All-commits
mailing list