aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/SourceMgr.cpp
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2017-10-12 23:01:53 +0000
committerErich Keane <erich.keane@intel.com>2017-10-12 23:01:53 +0000
commit883f22ef7e5ba3848558306ab039f76be46b4005 (patch)
treee94de201335c0a7830d97f81d571e263a0847590 /llvm/lib/Support/SourceMgr.cpp
parentbb8507e63c42212c3753c0df069ec16a52652247 (diff)
downloadllvm-883f22ef7e5ba3848558306ab039f76be46b4005.zip
llvm-883f22ef7e5ba3848558306ab039f76be46b4005.tar.gz
llvm-883f22ef7e5ba3848558306ab039f76be46b4005.tar.bz2
[Sema][Crash] Correctly handle an non-dependent noexcept expr in function template
It seems that all of the other templated cases are handled correctly, however the function template case was not correctly handled. This patch recovers from this condition by setting the function to noexcept after diagnosing. Previously it simply set NoexceptExpr to null, which caused an Assert when this was evaluated during substitution. Differential Revision:https://reviews.llvm.org/D38700 llvm-svn: 315638
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions