aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard@metafoo.co.uk>2020-08-19 12:46:52 -0700
committerRichard Smith <richard@metafoo.co.uk>2020-08-19 15:45:51 -0700
commitc1c1bed5d0828f1905f1e9a09a32c02f05de9b41 (patch)
tree989f63499257c9a6c0d8e909c7a15790b1b0593f /clang/lib/CodeGen/CodeGenModule.cpp
parent6f339367195e7464df87571062529bbe20157bdf (diff)
downloadllvm-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