]> granicus.if.org Git - clang/commit
Add "template" keyword at strategic position to fix
authorGabor Greif <ggreif@gmail.com>
Thu, 25 Feb 2010 13:04:33 +0000 (13:04 +0000)
committerGabor Greif <ggreif@gmail.com>
Thu, 25 Feb 2010 13:04:33 +0000 (13:04 +0000)
commitbf2ca2f87ff0b33b839b1b51d233a79bb56e5bac
tree30dbe0a76fdd71a34dc7e1f64686096d69e7fbc3
parent3a8133727659077d0c918226e5dad6c16c8274f6
Add "template" keyword at strategic position to fix
compilation using g++ v3.4.

I'll watch the buildbots and back out if necessary.
Feel free to do the same if something breaks.

Without this patch I get (on g++ 3.4.6) following error:

In file included from clang/lib/Sema/SemaTemplate.cpp:14:
clang/lib/Sema/TreeTransform.h: In member function `clang::ASTOwningResult<&clang::ActionBase::DeleteExpr> clang::TreeTransform<Derived>::RebuildCXXPseudoDestructorExpr(clang::ASTOwningResult<&clang::ActionBase::DeleteExpr>, clang::SourceLocation, bool, clang::NestedNameSpecifier*, clang::SourceRange, clang::TypeSourceInfo*, clang::SourceLocation, clang::SourceLocation, clang::PseudoDestructorTypeStorage)':
clang/lib/Sema/TreeTransform.h:5784: error: expected primary-expression before '>' token
clang/lib/Sema/TreeTransform.h:5784: error: expected primary-expression before ')' token
make[4]: *** [clang/lib/Sema/Release/SemaTemplate.o] Error 1

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97136 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/TreeTransform.h