[PATCH] Diagnose const destination to __atomic_load
Jonathan Roelofs
jonathan at codesourcery.com
Thu Jun 11 18:06:15 PDT 2015
It probably makes sense to extend this to all of the related builtins that can write to their pointer argument:
__atomic_store
__atomic_store_n
__atomic_exchange
__atomic_exchange
__atomic_compare_exchange
__atomic_compare_exchange_n
__atomic_test_and_set
__atomic_clear
http://reviews.llvm.org/D10407
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the cfe-commits
mailing list