diff options
author | Johannes Doerfert <jdoerfert@anl.gov> | 2019-07-15 17:31:26 +0000 |
---|---|---|
committer | Johannes Doerfert <jdoerfert@anl.gov> | 2019-07-15 17:31:26 +0000 |
commit | 3dcd7996f1112e8f19f52a99ea7f2903572929dd (patch) | |
tree | 8bf19ac6effd46019f01053a2386562376b979be /clang/docs/LanguageExtensions.rst | |
parent | 8e7eee617a0915ca3153aed72da7c825f6263e25 (diff) | |
download | bcm5719-llvm-3dcd7996f1112e8f19f52a99ea7f2903572929dd.tar.gz bcm5719-llvm-3dcd7996f1112e8f19f52a99ea7f2903572929dd.zip |
[FunctionAttrs] Remove readonly and writeonly assertion
There are scenarios where mutually recursive functions may cause the SCC
to contain both read only and write only functions. This removes an
assertion when adding read attributes which caused a crash with a the
provided test case, and instead just doesn't add the attributes.
Patch by Luke Lau <luke.lau@intel.com>
Differential Revision: https://reviews.llvm.org/D60761
llvm-svn: 366090
Diffstat (limited to 'clang/docs/LanguageExtensions.rst')
0 files changed, 0 insertions, 0 deletions