summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-02-14 02:33:50 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-02-14 02:33:50 +0000
commite7f5de485e98ee1ad38bbe77b24cfe058746a0de (patch)
treeafceb24ec23e59f5414042b4eef25c00cd3ad4ea /clang/lib/Frontend
parent5f1a04ffd16ed189920dde2f196a2e14f50099d5 (diff)
downloadbcm5719-llvm-e7f5de485e98ee1ad38bbe77b24cfe058746a0de.tar.gz
bcm5719-llvm-e7f5de485e98ee1ad38bbe77b24cfe058746a0de.zip
Fix another issue introduced by the proposed wording for core issue 1358: since
the instantiation of a constexpr function temploid is now always constexpr, a defaulted constexpr function temploid is often ill-formed by the rule in [dcl.fct.def.default]p2 that an explicitly-defaulted constexpr function must have a constexpr implicit definition. To avoid making loads of completely reasonable code ill-formed, do not apply that rule to templates. llvm-svn: 150453
Diffstat (limited to 'clang/lib/Frontend')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud