From: Aaron Ballman Date: Sun, 9 Dec 2018 19:53:24 +0000 (+0000) Subject: Move the make_const_ptr trait into STLExtras; use add_pointer where possible; NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=22f1da517879a9f46a871475890a12e122809432;p=clang Move the make_const_ptr trait into STLExtras; use add_pointer where possible; NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@348730 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/CommentVisitor.h b/include/clang/AST/CommentVisitor.h index 5845e4fb51..e37e9d6cd2 100644 --- a/include/clang/AST/CommentVisitor.h +++ b/include/clang/AST/CommentVisitor.h @@ -11,14 +11,11 @@ #define LLVM_CLANG_AST_COMMENTVISITOR_H #include "clang/AST/Comment.h" +#include "llvm/ADT/STLExtras.h" #include "llvm/Support/ErrorHandling.h" namespace clang { namespace comments { - -template struct make_ptr { using type = T *; }; -template struct make_const_ptr { using type = const T *; }; - template