зеркало из https://github.com/microsoft/clang-1.git
s/tranform/transform/
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167929 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
2b07dd350a
Коммит
accaf19bc1
|
@ -2766,7 +2766,7 @@ public:
|
|||
|
||||
void DiscardCleanupsInEvaluationContext();
|
||||
|
||||
ExprResult TranformToPotentiallyEvaluated(Expr *E);
|
||||
ExprResult TransformToPotentiallyEvaluated(Expr *E);
|
||||
ExprResult HandleExprEvaluationContextForTypeof(Expr *E);
|
||||
|
||||
ExprResult ActOnConstantExpression(ExprResult Res);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===--- TransAPIUses.cpp - Tranformations to ARC mode --------------------===//
|
||||
//===--- TransAPIUses.cpp - Transformations to ARC mode -------------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===--- TransARCAssign.cpp - Tranformations to ARC mode ------------------===//
|
||||
//===--- TransARCAssign.cpp - Transformations to ARC mode -----------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===--- TransAutoreleasePool.cpp - Tranformations to ARC mode ------------===//
|
||||
//===--- TransAutoreleasePool.cpp - Transformations to ARC mode -----------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===--- TransBlockObjCVariable.cpp - Tranformations to ARC mode ----------===//
|
||||
//===--- TransBlockObjCVariable.cpp - Transformations to ARC mode ---------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===--- TransEmptyStatements.cpp - Tranformations to ARC mode ------------===//
|
||||
//===--- TransEmptyStatements.cpp - Transformations to ARC mode -----------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===--- TransGCCalls.cpp - Tranformations to ARC mode --------------------===//
|
||||
//===--- TransGCCalls.cpp - Transformations to ARC mode -------------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===--- TransProperties.cpp - Tranformations to ARC mode -----------------===//
|
||||
//===--- TransProperties.cpp - Transformations to ARC mode ----------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===--- TransRetainReleaseDealloc.cpp - Tranformations to ARC mode -------===//
|
||||
//===--- TransRetainReleaseDealloc.cpp - Transformations to ARC mode ------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===--- TransUnbridgedCasts.cpp - Tranformations to ARC mode -------------===//
|
||||
//===--- TransUnbridgedCasts.cpp - Transformations to ARC mode ------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===--- TransUnusedInitDelegate.cpp - Tranformations to ARC mode ---------===//
|
||||
//===--- TransUnusedInitDelegate.cpp - Transformations to ARC mode --------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===--- TransZeroOutPropsInDealloc.cpp - Tranformations to ARC mode ------===//
|
||||
//===--- TransZeroOutPropsInDealloc.cpp - Transformations to ARC mode -----===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===--- Tranforms.cpp - Tranformations to ARC mode -----------------------===//
|
||||
//===--- Transforms.cpp - Transformations to ARC mode ---------------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===-- Transforms.h - Tranformations to ARC mode ---------------*- C++ -*-===//
|
||||
//===-- Transforms.h - Transformations to ARC mode --------------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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(),
|
||||
|
|
Загрузка…
Ссылка в новой задаче