diff options
| author | Daniel Jasper <djasper@google.com> | 2013-05-15 13:46:48 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-05-15 13:46:48 +0000 |
| commit | 5d823e3a00a3e21a0823288e6dee26a93758332b (patch) | |
| tree | db8ef07e165452b99b30d647f890662455049588 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 0ff5074f37a66bca244a9d5d0da050ff68693ce2 (diff) | |
| download | clang-5d823e3a00a3e21a0823288e6dee26a93758332b.tar.gz clang-5d823e3a00a3e21a0823288e6dee26a93758332b.tar.bz2 clang-5d823e3a00a3e21a0823288e6dee26a93758332b.tar.xz | |
Improve recognition of template definitions.
In the long run, this will probably be better fixed by a proper
expression parser..
Before:
template <typename F>
Matcher(const Matcher<F> & Other,
typename enable_if_c < is_base_of<F, T>::value &&
!is_same<F, T>::value > ::type * = 0)
: Implementation(new ImplicitCastMatcher<F>(Other)) {}
After:
template <typename F>
Matcher(const Matcher<F> & Other,
typename enable_if_c<is_base_of<F, T>::value &&
!is_same<F, T>::value>::type * = 0)
: Implementation(new ImplicitCastMatcher<F>(Other)) {}
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181884 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
