aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-12-10 11:24:26 -0800
committerKazu Hirata <kazu@google.com>2022-12-10 11:24:26 -0800
commitf7dffc28b3f82e25a0e283d2b11ffb9c6a129340 (patch)
tree20c10172454076fb8fb84ecc7509294cdb0dcbab /llvm/lib/IR/Function.cpp
parentf3b7b300f2b8f06fb03a715aa8dd2a7fcd9658f4 (diff)
downloadllvm-f7dffc28b3f82e25a0e283d2b11ffb9c6a129340.zip
llvm-f7dffc28b3f82e25a0e283d2b11ffb9c6a129340.tar.gz
llvm-f7dffc28b3f82e25a0e283d2b11ffb9c6a129340.tar.bz2
Don't include None.h (NFC)
I've converted all known uses of None to std::nullopt, so we no longer need to include None.h. 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
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
-rw-r--r--llvm/lib/IR/Function.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/IR/Function.cpp b/llvm/lib/IR/Function.cpp
index 792e714..f7a7751 100644
--- a/llvm/lib/IR/Function.cpp
+++ b/llvm/lib/IR/Function.cpp
@@ -14,7 +14,6 @@
#include "SymbolTableListTraitsImpl.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseSet.h"
-#include "llvm/ADT/None.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SmallVector.h"