summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2018-07-12 18:49:13 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2018-07-12 18:49:13 +0000
commit746e35e8a13b35197f9ede1cf5b4e7629c18ff75 (patch)
tree008a0376d37a248bcacb7149110de8316d72172c /clang/lib/Sema
parentb6d5c5871857f101cd88e99d115b310abf565bba (diff)
downloadbcm5719-llvm-746e35e8a13b35197f9ede1cf5b4e7629c18ff75.tar.gz
bcm5719-llvm-746e35e8a13b35197f9ede1cf5b4e7629c18ff75.zip
Add tests for function conversions in conversion function template
deduction. llvm-svn: 336931
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r--clang/lib/Sema/SemaTemplateDeduction.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaTemplateDeduction.cpp b/clang/lib/Sema/SemaTemplateDeduction.cpp
index 5c3f2ca32ce..8ae22136e1e 100644
--- a/clang/lib/Sema/SemaTemplateDeduction.cpp
+++ b/clang/lib/Sema/SemaTemplateDeduction.cpp
@@ -1645,6 +1645,9 @@ DeduceTemplateArgumentsByTypeMatch(Sema &S,
}
}
// FIXME: Detect non-deduced exception specification mismatches?
+ //
+ // Careful about [temp.deduct.call] and [temp.deduct.conv], which allow
+ // top-level differences in noexcept-specifications.
return Sema::TDK_Success;
}
OpenPOWER on IntegriCloud