]> granicus.if.org Git - clang/commitdiff
s/tranform/transform/
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 14 Nov 2012 15:08:31 +0000 (15:08 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 14 Nov 2012 15:08:31 +0000 (15:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167929 91177308-0d34-0410-b5e6-96231b3b80d8

17 files changed:
include/clang/Sema/Sema.h
lib/ARCMigrate/TransAPIUses.cpp
lib/ARCMigrate/TransARCAssign.cpp
lib/ARCMigrate/TransAutoreleasePool.cpp
lib/ARCMigrate/TransBlockObjCVariable.cpp
lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp
lib/ARCMigrate/TransGCCalls.cpp
lib/ARCMigrate/TransProperties.cpp
lib/ARCMigrate/TransRetainReleaseDealloc.cpp
lib/ARCMigrate/TransUnbridgedCasts.cpp
lib/ARCMigrate/TransUnusedInitDelegate.cpp
lib/ARCMigrate/TransZeroOutPropsInDealloc.cpp
lib/ARCMigrate/Transforms.cpp
lib/ARCMigrate/Transforms.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp

index 587203e752181d04a77eb454fcf5d6a300412274..2b1f4b5067b254bc6c100571f13d0e1532808ecc 100644 (file)
@@ -2766,7 +2766,7 @@ public:
 
   void DiscardCleanupsInEvaluationContext();
 
-  ExprResult TranformToPotentiallyEvaluated(Expr *E);
+  ExprResult TransformToPotentiallyEvaluated(Expr *E);
   ExprResult HandleExprEvaluationContextForTypeof(Expr *E);
 
   ExprResult ActOnConstantExpression(ExprResult Res);
index 5336f859052f50e6e088767b1a8abfa4d70f58ee..2305b6defd9c25e3a9f3665eb1eefb951f68f4a0 100644 (file)
@@ -1,4 +1,4 @@
-//===--- TransAPIUses.cpp - Tranformations to ARC mode --------------------===//
+//===--- TransAPIUses.cpp - Transformations to ARC mode -------------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index b83f85a1fac2b0cf354c8fc62b4efda4641e0347..80bfd22d6258ae3f1e7a028b6b225ce2ba67b0f6 100644 (file)
@@ -1,4 +1,4 @@
-//===--- TransARCAssign.cpp - Tranformations to ARC mode ------------------===//
+//===--- TransARCAssign.cpp - Transformations to ARC mode -----------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 5205ce4a70a94ed3265479f5a09cc877381f50c2..3b3bccd013ce40f5faeff84657e0c7efcbedcb64 100644 (file)
@@ -1,4 +1,4 @@
-//===--- TransAutoreleasePool.cpp - Tranformations to ARC mode ------------===//
+//===--- TransAutoreleasePool.cpp - Transformations to ARC mode -----------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 2a79c9aeff20c11f8b9f35d35afd2acec7fc7df6..2940f40290a18df0fffb46b613a558f10c102a9e 100644 (file)
@@ -1,4 +1,4 @@
-//===--- TransBlockObjCVariable.cpp - Tranformations to ARC mode ----------===//
+//===--- TransBlockObjCVariable.cpp - Transformations to ARC mode ---------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 552cb2fa631c1ed2104258d66f56536b4ccdb830..ffb638f8a30666827103cd1a13052b430cc16a9f 100644 (file)
@@ -1,4 +1,4 @@
-//===--- TransEmptyStatements.cpp - Tranformations to ARC mode ------------===//
+//===--- TransEmptyStatements.cpp - Transformations to ARC mode -----------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 2ec480c0af642035f739007759752d290a589f15..249f20f01b22fd823222173c3e481c5ffe6469b8 100644 (file)
@@ -1,4 +1,4 @@
-//===--- TransGCCalls.cpp - Tranformations to ARC mode --------------------===//
+//===--- TransGCCalls.cpp - Transformations to ARC mode -------------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index fdd6e8863b5911aafbbe9dbe8a158f9f14be1e43..08d68be3550df0430b5c78bd3cfb9e8d1132d707 100644 (file)
@@ -1,4 +1,4 @@
-//===--- TransProperties.cpp - Tranformations to ARC mode -----------------===//
+//===--- TransProperties.cpp - Transformations to ARC mode ----------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 91d2b399e3f1e66631ee63005ad6e481abb77984..dec4903b2d67d4d93767fe035f1f5aceccb89ce6 100644 (file)
@@ -1,4 +1,4 @@
-//===--- TransRetainReleaseDealloc.cpp - Tranformations to ARC mode -------===//
+//===--- TransRetainReleaseDealloc.cpp - Transformations to ARC mode ------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index ac18b5d6e739775efadb1cbb16311658c2257ae9..6e2d03ed55f396a040e2eea8e34637a271acd963 100644 (file)
@@ -1,4 +1,4 @@
-//===--- TransUnbridgedCasts.cpp - Tranformations to ARC mode -------------===//
+//===--- TransUnbridgedCasts.cpp - Transformations to ARC mode ------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 3057e391d0a8cabf2766a54ffec1d881113504fa..e316c73fc3cdecfe8c5e3b1bbb067307ae3e2c24 100644 (file)
@@ -1,4 +1,4 @@
-//===--- TransUnusedInitDelegate.cpp - Tranformations to ARC mode ---------===//
+//===--- TransUnusedInitDelegate.cpp - Transformations to ARC mode --------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index a07596d0cb0cdc2899b36a1c2e58e76717d00f09..4d088e05bfabfa56a505aef70dcf128fa9e8e046 100644 (file)
@@ -1,4 +1,4 @@
-//===--- TransZeroOutPropsInDealloc.cpp - Tranformations to ARC mode ------===//
+//===--- TransZeroOutPropsInDealloc.cpp - Transformations to ARC mode -----===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 805a67d9d18883060abb9e312b58c02d304c9512..21f137e410f6ba563f096c5296dae6cab3e2ad3e 100644 (file)
@@ -1,4 +1,4 @@
-//===--- Tranforms.cpp - Tranformations to ARC mode -----------------------===//
+//===--- Transforms.cpp - Transformations to ARC mode ---------------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 5d4ac944604540cb04d78360d866005f568e5e54..872a793751eb01e54e041d6e6bb7b210693c1ffd 100644 (file)
@@ -1,4 +1,4 @@
-//===-- Transforms.h - Tranformations to ARC mode ---------------*- C++ -*-===//
+//===-- Transforms.h - Transformations to ARC mode --------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
index 58c212b62f9dad26f898fa92b3184233ee57175c..2b3cc13ebd4390b723560250ea41ecb677ffbb9f 100644 (file)
@@ -3189,7 +3189,7 @@ Sema::CreateUnaryExprOrTypeTraitExpr(Expr *E, SourceLocation OpLoc,
     return ExprError();
 
   if (ExprKind == UETT_SizeOf && E->getType()->isVariableArrayType()) {
-    PE = TranformToPotentiallyEvaluated(E);
+    PE = TransformToPotentiallyEvaluated(E);
     if (PE.isInvalid()) return ExprError();
     E = PE.take();
   }
@@ -10211,7 +10211,7 @@ namespace {
   };
 }
 
-ExprResult Sema::TranformToPotentiallyEvaluated(Expr *E) {
+ExprResult Sema::TransformToPotentiallyEvaluated(Expr *E) {
   assert(ExprEvalContexts.back().Context == Unevaluated &&
          "Should only transform unevaluated expressions");
   ExprEvalContexts.back().Context =
@@ -10302,7 +10302,7 @@ void Sema::DiscardCleanupsInEvaluationContext() {
 ExprResult Sema::HandleExprEvaluationContextForTypeof(Expr *E) {
   if (!E->getType()->isVariablyModifiedType())
     return E;
-  return TranformToPotentiallyEvaluated(E);
+  return TransformToPotentiallyEvaluated(E);
 }
 
 static bool IsPotentiallyEvaluatedContext(Sema &SemaRef) {
index 0919bc5b6fa443b11a540d132bafeb8db0eb1acf..c2a5c8f52ee26517c6fdbaf68ed2e2a51656543d 100644 (file)
@@ -336,7 +336,7 @@ ExprResult Sema::BuildCXXTypeId(QualType TypeInfoType,
       if (RecordD->isPolymorphic() && E->isGLValue()) {
         // The subexpression is potentially evaluated; switch the context
         // and recheck the subexpression.
-        ExprResult Result = TranformToPotentiallyEvaluated(E);
+        ExprResult Result = TransformToPotentiallyEvaluated(E);
         if (Result.isInvalid()) return ExprError();
         E = Result.take();
 
index 19c46ab9c97f765dec16c8ba83704bcd9fcd713e..0267192d5ee28e8178f26f3c7a0ed44bd68d0a00 100644 (file)
@@ -2069,7 +2069,7 @@ Decl * TemplateDeclInstantiator
   SS.Adopt(QualifierLoc);
 
   // Since NameInfo refers to a typename, it cannot be a C++ special name.
-  // Hence, no tranformation is required for it.
+  // Hence, no transformation is required for it.
   DeclarationNameInfo NameInfo(D->getDeclName(), D->getLocation());
   NamedDecl *UD =
     SemaRef.BuildUsingDeclaration(/*Scope*/ 0, D->getAccess(),