diff options
-rw-r--r-- | include/clang/AST/Type.h | 7 | ||||
-rw-r--r-- | include/clang/AST/TypeOrdering.h | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h index 7c98403b6f..d22a646ece 100644 --- a/include/clang/AST/Type.h +++ b/include/clang/AST/Type.h @@ -35,7 +35,9 @@ namespace clang { TypeAlignmentInBits = 3, TypeAlignment = 1 << TypeAlignmentInBits }; - class Type; class ExtQuals; + class Type; + class ExtQuals; + class QualType; } namespace llvm { @@ -59,6 +61,9 @@ namespace llvm { } enum { NumLowBitsAvailable = clang::TypeAlignmentInBits }; }; + + template <> + struct isPodLike<clang::QualType> { static const bool value = true; }; } namespace clang { diff --git a/include/clang/AST/TypeOrdering.h b/include/clang/AST/TypeOrdering.h index d97e5b04a2..1a050d29c8 100644 --- a/include/clang/AST/TypeOrdering.h +++ b/include/clang/AST/TypeOrdering.h @@ -51,10 +51,6 @@ namespace llvm { return LHS == RHS; } }; - - // FIXME: Move to Type.h - template <> - struct isPodLike<clang::QualType> { static const bool value = true; }; } #endif |