diff options
author | Richard Smith <richard@metafoo.co.uk> | 2020-08-19 12:46:52 -0700 |
---|---|---|
committer | Richard Smith <richard@metafoo.co.uk> | 2020-08-19 15:45:51 -0700 |
commit | c1c1bed5d0828f1905f1e9a09a32c02f05de9b41 (patch) | |
tree | 989f63499257c9a6c0d8e909c7a15790b1b0593f /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 6f339367195e7464df87571062529bbe20157bdf (diff) | |
download | llvm-c1c1bed5d0828f1905f1e9a09a32c02f05de9b41.zip llvm-c1c1bed5d0828f1905f1e9a09a32c02f05de9b41.tar.gz llvm-c1c1bed5d0828f1905f1e9a09a32c02f05de9b41.tar.bz2 |
[c++14] Implement missed piece of N3323: use "converted constant" rules
for array bounds, not "integer constant" rules.
For an array bound of class type, this causes us to perform an implicit
conversion to size_t, instead of looking for a unique conversion to
integral or unscoped enumeration type. This affects which cases are
valid when a class has multiple implicit conversion functions to
different types.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions