Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit accaf19

Browse files
committed
s/tranform/transform/
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167929 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 2b07dd3 commit accaf19

17 files changed

+19
-19
lines changed

Diff for: include/clang/Sema/Sema.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2766,7 +2766,7 @@ class Sema {
27662766

27672767
void DiscardCleanupsInEvaluationContext();
27682768

2769-
ExprResult TranformToPotentiallyEvaluated(Expr *E);
2769+
ExprResult TransformToPotentiallyEvaluated(Expr *E);
27702770
ExprResult HandleExprEvaluationContextForTypeof(Expr *E);
27712771

27722772
ExprResult ActOnConstantExpression(ExprResult Res);

Diff for: lib/ARCMigrate/TransAPIUses.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- TransAPIUses.cpp - Tranformations to ARC mode --------------------===//
1+
//===--- TransAPIUses.cpp - Transformations to ARC mode -------------------===//
22
//
33
// The LLVM Compiler Infrastructure
44
//

Diff for: lib/ARCMigrate/TransARCAssign.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- TransARCAssign.cpp - Tranformations to ARC mode ------------------===//
1+
//===--- TransARCAssign.cpp - Transformations to ARC mode -----------------===//
22
//
33
// The LLVM Compiler Infrastructure
44
//

Diff for: lib/ARCMigrate/TransAutoreleasePool.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- TransAutoreleasePool.cpp - Tranformations to ARC mode ------------===//
1+
//===--- TransAutoreleasePool.cpp - Transformations to ARC mode -----------===//
22
//
33
// The LLVM Compiler Infrastructure
44
//

Diff for: lib/ARCMigrate/TransBlockObjCVariable.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- TransBlockObjCVariable.cpp - Tranformations to ARC mode ----------===//
1+
//===--- TransBlockObjCVariable.cpp - Transformations to ARC mode ---------===//
22
//
33
// The LLVM Compiler Infrastructure
44
//

Diff for: lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- TransEmptyStatements.cpp - Tranformations to ARC mode ------------===//
1+
//===--- TransEmptyStatements.cpp - Transformations to ARC mode -----------===//
22
//
33
// The LLVM Compiler Infrastructure
44
//

Diff for: lib/ARCMigrate/TransGCCalls.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- TransGCCalls.cpp - Tranformations to ARC mode --------------------===//
1+
//===--- TransGCCalls.cpp - Transformations to ARC mode -------------------===//
22
//
33
// The LLVM Compiler Infrastructure
44
//

Diff for: lib/ARCMigrate/TransProperties.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- TransProperties.cpp - Tranformations to ARC mode -----------------===//
1+
//===--- TransProperties.cpp - Transformations to ARC mode ----------------===//
22
//
33
// The LLVM Compiler Infrastructure
44
//

Diff for: lib/ARCMigrate/TransRetainReleaseDealloc.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- TransRetainReleaseDealloc.cpp - Tranformations to ARC mode -------===//
1+
//===--- TransRetainReleaseDealloc.cpp - Transformations to ARC mode ------===//
22
//
33
// The LLVM Compiler Infrastructure
44
//

Diff for: lib/ARCMigrate/TransUnbridgedCasts.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- TransUnbridgedCasts.cpp - Tranformations to ARC mode -------------===//
1+
//===--- TransUnbridgedCasts.cpp - Transformations to ARC mode ------------===//
22
//
33
// The LLVM Compiler Infrastructure
44
//

Diff for: lib/ARCMigrate/TransUnusedInitDelegate.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- TransUnusedInitDelegate.cpp - Tranformations to ARC mode ---------===//
1+
//===--- TransUnusedInitDelegate.cpp - Transformations to ARC mode --------===//
22
//
33
// The LLVM Compiler Infrastructure
44
//

Diff for: lib/ARCMigrate/TransZeroOutPropsInDealloc.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- TransZeroOutPropsInDealloc.cpp - Tranformations to ARC mode ------===//
1+
//===--- TransZeroOutPropsInDealloc.cpp - Transformations to ARC mode -----===//
22
//
33
// The LLVM Compiler Infrastructure
44
//

Diff for: lib/ARCMigrate/Transforms.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- Tranforms.cpp - Tranformations to ARC mode -----------------------===//
1+
//===--- Transforms.cpp - Transformations to ARC mode ---------------------===//
22
//
33
// The LLVM Compiler Infrastructure
44
//

Diff for: lib/ARCMigrate/Transforms.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- Transforms.h - Tranformations to ARC mode ---------------*- C++ -*-===//
1+
//===-- Transforms.h - Transformations to ARC mode --------------*- C++ -*-===//
22
//
33
// The LLVM Compiler Infrastructure
44
//

Diff for: lib/Sema/SemaExpr.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -3189,7 +3189,7 @@ Sema::CreateUnaryExprOrTypeTraitExpr(Expr *E, SourceLocation OpLoc,
31893189
return ExprError();
31903190

31913191
if (ExprKind == UETT_SizeOf && E->getType()->isVariableArrayType()) {
3192-
PE = TranformToPotentiallyEvaluated(E);
3192+
PE = TransformToPotentiallyEvaluated(E);
31933193
if (PE.isInvalid()) return ExprError();
31943194
E = PE.take();
31953195
}
@@ -10211,7 +10211,7 @@ namespace {
1021110211
};
1021210212
}
1021310213

10214-
ExprResult Sema::TranformToPotentiallyEvaluated(Expr *E) {
10214+
ExprResult Sema::TransformToPotentiallyEvaluated(Expr *E) {
1021510215
assert(ExprEvalContexts.back().Context == Unevaluated &&
1021610216
"Should only transform unevaluated expressions");
1021710217
ExprEvalContexts.back().Context =
@@ -10302,7 +10302,7 @@ void Sema::DiscardCleanupsInEvaluationContext() {
1030210302
ExprResult Sema::HandleExprEvaluationContextForTypeof(Expr *E) {
1030310303
if (!E->getType()->isVariablyModifiedType())
1030410304
return E;
10305-
return TranformToPotentiallyEvaluated(E);
10305+
return TransformToPotentiallyEvaluated(E);
1030610306
}
1030710307

1030810308
static bool IsPotentiallyEvaluatedContext(Sema &SemaRef) {

Diff for: lib/Sema/SemaExprCXX.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ ExprResult Sema::BuildCXXTypeId(QualType TypeInfoType,
336336
if (RecordD->isPolymorphic() && E->isGLValue()) {
337337
// The subexpression is potentially evaluated; switch the context
338338
// and recheck the subexpression.
339-
ExprResult Result = TranformToPotentiallyEvaluated(E);
339+
ExprResult Result = TransformToPotentiallyEvaluated(E);
340340
if (Result.isInvalid()) return ExprError();
341341
E = Result.take();
342342

Diff for: lib/Sema/SemaTemplateInstantiateDecl.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2069,7 +2069,7 @@ Decl * TemplateDeclInstantiator
20692069
SS.Adopt(QualifierLoc);
20702070

20712071
// Since NameInfo refers to a typename, it cannot be a C++ special name.
2072-
// Hence, no tranformation is required for it.
2072+
// Hence, no transformation is required for it.
20732073
DeclarationNameInfo NameInfo(D->getDeclName(), D->getLocation());
20742074
NamedDecl *UD =
20752075
SemaRef.BuildUsingDeclaration(/*Scope*/ 0, D->getAccess(),

0 commit comments

Comments
 (0)