forked from OSchip/llvm-project
Remove redundant template specialization that just duplicates the partial
specialization that would otherwise be selected. llvm-svn: 205249
This commit is contained in:
parent
63efd8e7e6
commit
39006cd3b8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue