Adding an STL-like type trait that is duplicated in multiple places in Clang.

This trait is used by several AST visitor classes to control whether the AST is visiting const nodes or non-const nodes. These uses cannot be easily replaced with the STL traits directly due to use of an unspecialized templated when a type is expected (due to the template template parameter involved).



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@348729 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed