specialization that would otherwise be selected.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205249
91177308-0d34-0410-b5e6-
96231b3b80d8
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