[Mlir-commits] [mlir] e55cc7d - Remove using llvm::None

Fangrui Song llvmlistbot at llvm.org
Sat Dec 10 18:47:26 PST 2022


Author: Fangrui Song
Date: 2022-12-11T02:47:19Z
New Revision: e55cc7d11881f232ac19041b28fa46627c276577

URL: https://github.com/llvm/llvm-project/commit/e55cc7d11881f232ac19041b28fa46627c276577
DIFF: https://github.com/llvm/llvm-project/commit/e55cc7d11881f232ac19041b28fa46627c276577.diff

LOG: Remove using llvm::None

Added: 
    

Modified: 
    clang/include/clang/Basic/LLVM.h
    mlir/include/mlir/Support/LLVM.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Basic/LLVM.h b/clang/include/clang/Basic/LLVM.h
index 955299504ece7..6375bd05fb5c3 100644
--- a/clang/include/clang/Basic/LLVM.h
+++ b/clang/include/clang/Basic/LLVM.h
@@ -69,7 +69,6 @@ namespace clang {
   // ADT's.
   using llvm::ArrayRef;
   using llvm::MutableArrayRef;
-  using llvm::None;
   using llvm::Optional;
   using llvm::OwningArrayRef;
   using llvm::SaveAndRestore;

diff  --git a/mlir/include/mlir/Support/LLVM.h b/mlir/include/mlir/Support/LLVM.h
index e442ca51a33bf..a389392301a00 100644
--- a/mlir/include/mlir/Support/LLVM.h
+++ b/mlir/include/mlir/Support/LLVM.h
@@ -129,7 +129,6 @@ using SetVector = llvm::SetVector<T, Vector, Set>;
 template <typename AllocatorTy = llvm::MallocAllocator>
 using StringSet = llvm::StringSet<AllocatorTy>;
 using llvm::MutableArrayRef;
-using llvm::None;
 using llvm::Optional;
 using llvm::PointerUnion;
 using llvm::SmallPtrSet;


        


More information about the Mlir-commits mailing list