summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/TreeTransform.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-12-21 00:52:54 +0000
committerDouglas Gregor <dgregor@apple.com>2010-12-21 00:52:54 +0000
commit76aca7b2e8f8a1668608a706343101b7babc8ff3 (patch)
treedcce60c02d9efc150c3622cd8d2767634748993c /clang/lib/Sema/TreeTransform.h
parent4c278f82c8ade4d2dfd82914eca8da08cbd1ad23 (diff)
downloadbcm5719-llvm-76aca7b2e8f8a1668608a706343101b7babc8ff3.tar.gz
bcm5719-llvm-76aca7b2e8f8a1668608a706343101b7babc8ff3.zip
Implement instantiation of pack expansions whose pattern is a type-id
in an exception specification. llvm-svn: 122297
Diffstat (limited to 'clang/lib/Sema/TreeTransform.h')
-rw-r--r--clang/lib/Sema/TreeTransform.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/Sema/TreeTransform.h b/clang/lib/Sema/TreeTransform.h
index ae55d32fb47..728ece3601c 100644
--- a/clang/lib/Sema/TreeTransform.h
+++ b/clang/lib/Sema/TreeTransform.h
@@ -91,11 +91,10 @@ template<typename Derived>
class TreeTransform {
protected:
Sema &SemaRef;
- Sema::ArgumentPackSubstitutionIndexRAII SubstIndex;
public:
/// \brief Initializes a new tree transformer.
- TreeTransform(Sema &SemaRef) : SemaRef(SemaRef), SubstIndex(SemaRef, -1) { }
+ TreeTransform(Sema &SemaRef) : SemaRef(SemaRef) { }
/// \brief Retrieves a reference to the derived class.
Derived &getDerived() { return static_cast<Derived&>(*this); }
@@ -186,7 +185,7 @@ public:
/// given set of parameter packs into separate arguments by repeatedly
/// transforming the pattern.
///
- /// By default, the transformed never tries to expand pack expansions.
+ /// By default, the transformer never tries to expand pack expansions.
/// Subclasses can override this routine to provide different behavior.
///
/// \param EllipsisLoc The location of the ellipsis that identifies the
OpenPOWER on IntegriCloud