Remove redundant template specialization that just duplicates the partial

specialization that would otherwise be selected.

llvm-svn: 205249
This commit is contained in:
Richard Smith 2014-03-31 21:31:04 +00:00
parent 63efd8e7e6
commit 39006cd3b8
1 changed files with 0 additions and 14 deletions

View File

@ -54,20 +54,6 @@ class TranslationUnitDecl;
class UsingDirectiveDecl;
}
namespace llvm {
// DeclContext* is only 4-byte aligned on 32-bit systems.
template<>
class PointerLikeTypeTraits<clang::DeclContext*> {
typedef clang::DeclContext* PT;
public:
static inline void *getAsVoidPointer(PT P) { return P; }
static inline PT getFromVoidPointer(void *P) {
return static_cast<PT>(P);
}
enum { NumLowBitsAvailable = 2 };
};
}
namespace clang {
/// \brief Captures the result of checking the availability of a