diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-03-08 23:00:26 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-03-08 23:00:26 +0000 |
commit | a54d32404c0942321bb9d8c0f184ae15f7dc688b (patch) | |
tree | 8f53b73b0dfafc88ea91ac7a61cce29d49ecd1ae /clang/test/Modules/Inputs/cxx17 | |
parent | 05048633834be2be634b3e32751a08b2eef12692 (diff) | |
download | bcm5719-llvm-a54d32404c0942321bb9d8c0f184ae15f7dc688b.tar.gz bcm5719-llvm-a54d32404c0942321bb9d8c0f184ae15f7dc688b.zip |
Take into account C++17's noexcept function types during merging -- it should
be possible to merge a declaration with an unresolved function type against one
with a resolved function type.
llvm-svn: 297316
Diffstat (limited to 'clang/test/Modules/Inputs/cxx17')
-rw-r--r-- | clang/test/Modules/Inputs/cxx17/decls.h | 3 | ||||
-rw-r--r-- | clang/test/Modules/Inputs/cxx17/module.modulemap | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/cxx17/decls.h b/clang/test/Modules/Inputs/cxx17/decls.h new file mode 100644 index 00000000000..473b6d15112 --- /dev/null +++ b/clang/test/Modules/Inputs/cxx17/decls.h @@ -0,0 +1,3 @@ +struct MergeExceptionSpec { + ~MergeExceptionSpec(); // unevaluated exception spec +}; diff --git a/clang/test/Modules/Inputs/cxx17/module.modulemap b/clang/test/Modules/Inputs/cxx17/module.modulemap new file mode 100644 index 00000000000..2339e49e03b --- /dev/null +++ b/clang/test/Modules/Inputs/cxx17/module.modulemap @@ -0,0 +1 @@ +module Decls { header "decls.h" } |