llvm::DenseMap<const VarDecl*, Expr*> BlockVarCopyInits;
/// \brief Mapping from class scope functions specialization to their
- /// templateS pattern.
+ /// template patterns.
llvm::DenseMap<const FunctionDecl*, FunctionDecl*>
- ClassScopeSpecilizationPattern;
+ ClassScopeSpecializationPattern;
/// \brief Representation of a "canonical" template template parameter that
/// is used in canonical template names.
const FunctionDecl *FD){
assert(FD && "Specialization is 0");
llvm::DenseMap<const FunctionDecl*, FunctionDecl *>::const_iterator Pos
- = ClassScopeSpecilizationPattern.find(FD);
- if (Pos == ClassScopeSpecilizationPattern.end())
+ = ClassScopeSpecializationPattern.find(FD);
+ if (Pos == ClassScopeSpecializationPattern.end())
return 0;
return Pos->second;
FunctionDecl *Pattern) {
assert(FD && "Specialization is 0");
assert(Pattern && "Class scope specialization pattern is 0");
- ClassScopeSpecilizationPattern[FD] = Pattern;
+ ClassScopeSpecializationPattern[FD] = Pattern;
}
NamedDecl *
+ llvm::capacity_in_bytes(OverriddenMethods)
+ llvm::capacity_in_bytes(Types)
+ llvm::capacity_in_bytes(VariableArrayTypes)
- + llvm::capacity_in_bytes(ClassScopeSpecilizationPattern);
+ + llvm::capacity_in_bytes(ClassScopeSpecializationPattern);
}