summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaTemplate.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-07-28 15:14:14 +0000
committerDouglas Gregor <dgregor@apple.com>2010-07-28 15:14:14 +0000
commitbbfd2c0a8684e7d3625db9d09afcafca2e35d2d1 (patch)
treed60c8a991fc85371d876f1a77bfe4b0c2febb178 /clang/lib/Sema/SemaTemplate.cpp
parentdf65c8ed2a2ff426a30f0dbac3ef3ea48a651627 (diff)
downloadbcm5719-llvm-bbfd2c0a8684e7d3625db9d09afcafca2e35d2d1.tar.gz
bcm5719-llvm-bbfd2c0a8684e7d3625db9d09afcafca2e35d2d1.zip
Enable expression transformations in the current-instantiation
rebuilder, i.e., remove a silly short-sighted hack from long ago. Thanks to Abramo Bagnara for the test case/bug report! llvm-svn: 109583
Diffstat (limited to 'clang/lib/Sema/SemaTemplate.cpp')
-rw-r--r--clang/lib/Sema/SemaTemplate.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/clang/lib/Sema/SemaTemplate.cpp b/clang/lib/Sema/SemaTemplate.cpp
index ea77a189f75..03e5281d836 100644
--- a/clang/lib/Sema/SemaTemplate.cpp
+++ b/clang/lib/Sema/SemaTemplate.cpp
@@ -5427,15 +5427,6 @@ namespace {
this->Loc = Loc;
this->Entity = Entity;
}
-
- /// \brief Transforms an expression by returning the expression itself
- /// (an identity function).
- ///
- /// FIXME: This is completely unsafe; we will need to actually clone the
- /// expressions.
- Sema::OwningExprResult TransformExpr(Expr *E) {
- return getSema().Owned(E->Retain());
- }
};
}
OpenPOWER on IntegriCloud