[PATCH] D21780: [LLVM] Fix some Clang-tidy modernize-use-using and Include What You Use warnings
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 28 08:43:04 PDT 2016
hans added inline comments.
================
Comment at: include/llvm/ADT/ArrayRef.h:40
@@ -32,4 +39,3 @@
public:
- typedef const T *iterator;
- typedef const T *const_iterator;
- typedef size_t size_type;
+ using iterator = const T *;
+ using const_iterator = const T *;
----------------
Do we generally use this syntax in LLVM? I thought we used typedef for this all over the place.
Repository:
rL LLVM
http://reviews.llvm.org/D21780
More information about the llvm-commits
mailing list