[cfe-commits] r137585 - in /cfe/trunk: include/clang/AST/ASTContext.h lib/AST/ASTContext.cpp
Francois Pichet
pichet2000 at gmail.com
Sun Aug 14 07:28:49 PDT 2011
Author: fpichet
Date: Sun Aug 14 09:28:49 2011
New Revision: 137585
URL: http://llvm.org/viewvc/llvm-project?rev=137585&view=rev
Log:
Fix typo.
Modified:
cfe/trunk/include/clang/AST/ASTContext.h
cfe/trunk/lib/AST/ASTContext.cpp
Modified: cfe/trunk/include/clang/AST/ASTContext.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ASTContext.h?rev=137585&r1=137584&r2=137585&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/ASTContext.h (original)
+++ cfe/trunk/include/clang/AST/ASTContext.h Sun Aug 14 09:28:49 2011
@@ -153,9 +153,9 @@
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.
Modified: cfe/trunk/lib/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTContext.cpp?rev=137585&r1=137584&r2=137585&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ASTContext.cpp (original)
+++ cfe/trunk/lib/AST/ASTContext.cpp Sun Aug 14 09:28:49 2011
@@ -522,8 +522,8 @@
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;
@@ -533,7 +533,7 @@
FunctionDecl *Pattern) {
assert(FD && "Specialization is 0");
assert(Pattern && "Class scope specialization pattern is 0");
- ClassScopeSpecilizationPattern[FD] = Pattern;
+ ClassScopeSpecializationPattern[FD] = Pattern;
}
NamedDecl *
@@ -6458,5 +6458,5 @@
+ 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);
}
More information about the cfe-commits
mailing list