aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/Type.h
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-08-22 12:12:24 +0000
committerManuel Klimek <klimek@google.com>2013-08-22 12:12:24 +0000
commit152b4e4652baedfceba1cd8115515629225e713f (patch)
tree5904be09d06fff627d49761321492540291f78bf /include/clang/AST/Type.h
parent28cc16a64a3bbad9e48309eb8b4ee68893cd85d0 (diff)
downloadclang-152b4e4652baedfceba1cd8115515629225e713f.tar.gz
Revert "Implement a rudimentary form of generic lambdas."
This reverts commit 606f5d7a99b11957e057e4cd1f55f931f66a42c7. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189004 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/Type.h')
-rw-r--r--include/clang/AST/Type.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h
index 246d3e14a4..6e2246ba37 100644
--- a/include/clang/AST/Type.h
+++ b/include/clang/AST/Type.h
@@ -3614,11 +3614,10 @@ public:
/// is no deduced type and an auto type is canonical. In the latter case, it is
/// also a dependent type.
class AutoType : public Type, public llvm::FoldingSetNode {
- AutoType(QualType DeducedType, bool IsDecltypeAuto,
- bool IsDependent, bool IsParameterPack)
+ AutoType(QualType DeducedType, bool IsDecltypeAuto, bool IsDependent)
: Type(Auto, DeducedType.isNull() ? QualType(this, 0) : DeducedType,
/*Dependent=*/IsDependent, /*InstantiationDependent=*/IsDependent,
- /*VariablyModified=*/false, /*ContainsParameterPack=*/IsParameterPack) {
+ /*VariablyModified=*/false, /*ContainsParameterPack=*/false) {
assert((DeducedType.isNull() || !IsDependent) &&
"auto deduced to dependent type");
AutoTypeBits.IsDecltypeAuto = IsDecltypeAuto;
@@ -3642,17 +3641,14 @@ public:
}
void Profile(llvm::FoldingSetNodeID &ID) {
- Profile(ID, getDeducedType(), isDecltypeAuto(),
- isDependentType(), containsUnexpandedParameterPack());
+ Profile(ID, getDeducedType(), isDecltypeAuto(), isDependentType());
}
static void Profile(llvm::FoldingSetNodeID &ID, QualType Deduced,
- bool IsDecltypeAuto, bool IsDependent,
- bool IsParameterPack) {
+ bool IsDecltypeAuto, bool IsDependent) {
ID.AddPointer(Deduced.getAsOpaquePtr());
ID.AddBoolean(IsDecltypeAuto);
ID.AddBoolean(IsDependent);
- ID.AddBoolean(IsParameterPack);
}
static bool classof(const Type *T) {