diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2021-02-17 23:55:59 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-10-11 13:38:11 +0000 |
commit | b89465c94165676ee278631b144781f1c739e680 (patch) | |
tree | abb736bdfe2d7ed29651e2da1b8111412bfd0ca1 /gcc/ada/sem_attr.adb | |
parent | 945ec76b8e110e2ef291777e123482389f6594e6 (diff) | |
download | gcc-b89465c94165676ee278631b144781f1c739e680.zip gcc-b89465c94165676ee278631b144781f1c739e680.tar.gz gcc-b89465c94165676ee278631b144781f1c739e680.tar.bz2 |
[Ada] Warn about conversion with any predefined time types
gcc/ada/
* sem_ch13.adb (Validate_Unchecked_Conversion): Simplify code
for detecting conversions with Ada.Calendar.Time type and extend
it to similar types in the Ada.Real_Time package.
Diffstat (limited to 'gcc/ada/sem_attr.adb')
0 files changed, 0 insertions, 0 deletions