diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2016-11-17 01:33:54 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2016-11-17 01:33:54 +0000 |
commit | 004319554cf6044896073b8a305ba9d340ed5f94 (patch) | |
tree | fc75b136e29d455e13de0e8216ead7ade1e8028a /lldb/source/Core/StringList.cpp | |
parent | 41d72a8632605ad9366b9bfcd12fe80a177b80ca (diff) | |
download | bcm5719-llvm-004319554cf6044896073b8a305ba9d340ed5f94.tar.gz bcm5719-llvm-004319554cf6044896073b8a305ba9d340ed5f94.zip |
[Sema] Fix a bug in enable_if condition instantiation.
During template instantiation, we currently fall back to just calling
Sema::SubstExpr for enable_if attributes that aren't value-dependent or
type-dependent. Since Sema::SubstExpr strips off any implicit casts
we've added to an expression, it's possible that this behavior will
leave us with an enable_if condition that's just a DeclRefExpr.
Conditions like that deeply confuse Sema::CheckEnableIf.
llvm-svn: 287187
Diffstat (limited to 'lldb/source/Core/StringList.cpp')
0 files changed, 0 insertions, 0 deletions