summaryrefslogtreecommitdiff
path: root/libjava/classpath/java/io/FileNotFoundException.java
diff options
context:
space:
mode:
authorAndrew Pinski <andrew.pinski@oss.qualcomm.com>2025-11-16 17:33:00 -0800
committerAndrew Pinski <andrew.pinski@oss.qualcomm.com>2025-11-17 11:06:45 -0800
commit49217e18b3a14b26745d35ca7ed75e377a5320ed (patch)
treed8632a504779b0f489434d10f52cba201ec10b6d /libjava/classpath/java/io/FileNotFoundException.java
parent31cedbc904640857985183335eef27c73b9488a1 (diff)
fnspec: constify methods [PR97894]
Since these methods don't write to the this, let's mark them as const methods saying this is not written to. This warning is from cppcheck and added the other methods as I noticed too. Bootstrapped and tested on x86_64-linux-gnu. PR middle-end/97894 gcc/ChangeLog: * attr-fnspec.h (attr_fnspec): arg_idx, known_p, arg_specified_p, arg_direct_p, arg_used_p, arg_readonly_p, arg_maybe_read_p, arg_maybe_written_p, arg_max_access_size_given_by_arg_p, arg_access_size_given_by_type_p, arg_copied_to_arg_p, arg_noescape_p, returns_arg, returns_noalias_p, global_memory_read_p, global_memory_written_p, errno_maybe_written_p, arg_eaf_flags, and get_str as const methods. Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
Diffstat (limited to 'libjava/classpath/java/io/FileNotFoundException.java')
0 files changed, 0 insertions, 0 deletions