diff options
author | Richard Smith <richard@metafoo.co.uk> | 2021-02-08 17:32:52 -0800 |
---|---|---|
committer | Richard Smith <richard@metafoo.co.uk> | 2021-02-08 17:34:40 -0800 |
commit | c945dc4a5023d6a17d11fcda76509b94b36e34fc (patch) | |
tree | 7665f37fe538d96ae12f09f886f7cc1d2d58a7d9 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 3e837e17357e2b0a64638e0f7c052b9f4f2f2d3d (diff) | |
download | llvm-c945dc4a5023d6a17d11fcda76509b94b36e34fc.zip llvm-c945dc4a5023d6a17d11fcda76509b94b36e34fc.tar.gz llvm-c945dc4a5023d6a17d11fcda76509b94b36e34fc.tar.bz2 |
PR48587: is_constant_evaluated() should not evaluate to true during a
variable's destruction if it didn't do so during construction.
The standard doesn't give any guidance as to what to do here, but this
approach seems reasonable and conservative, and has been proposed to the
standard committee.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions