aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard@metafoo.co.uk>2021-02-08 17:32:52 -0800
committerRichard Smith <richard@metafoo.co.uk>2021-02-08 17:34:40 -0800
commitc945dc4a5023d6a17d11fcda76509b94b36e34fc (patch)
tree7665f37fe538d96ae12f09f886f7cc1d2d58a7d9 /clang/lib/Frontend/CompilerInvocation.cpp
parent3e837e17357e2b0a64638e0f7c052b9f4f2f2d3d (diff)
downloadllvm-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