diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2022-03-30 07:12:04 -0400 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2022-03-30 07:12:49 -0400 |
commit | cf4a67bcbbb109347b1e2d6cedf69bae142a182f (patch) | |
tree | 2da978a3efec8c4b7df946674a10b6a88ada4d8f /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | 4a33b9ece076d85be5f73e3511f7f64269c74888 (diff) | |
download | llvm-cf4a67bcbbb109347b1e2d6cedf69bae142a182f.zip llvm-cf4a67bcbbb109347b1e2d6cedf69bae142a182f.tar.gz llvm-cf4a67bcbbb109347b1e2d6cedf69bae142a182f.tar.bz2 |
Don't diagnostic atomic object access as UB in an unevaluated context
We started diagnosing this situation with a more clear diagnostic
message, but it was pointed out that unevaluated contexts don't really
have the undefined behavior property as there is no runtime access
involved.
This augments the changes in https://reviews.llvm.org/D122656 to not
diagnose in an unevaluated context.
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions